• Resolved doubledown11

    (@doubledown11)


    Has anyone had this happen?
    I am trying to customize my sidebar – I don’t want the archives and categories to appear. So I open sidebar.php and cut the code out. And yet it still shows….?? After a hard-refresh of course. What’s the deal?

    My site: https://www.getbackwithmyex.net/

    The code: `<div class=”sidebar”>

      <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar() ) : else : ?>

      <li id=”calendar”>
      <h2><?php _e(‘Calendar’); ?></h2>
      <?php get_calendar(); ?>

      <?php wp_list_pages(‘depth=3&title_li=<h2>Pages</h2>’); ?>

      <?php get_links_list(); ?>

    • <h2><?php _e(‘Meta’); ?></h2>
      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    <?php endif; ?>

    </div>`
    As you can see, the categories and archive code snippets aren’t there… this makes no sense…

Viewing 1 replies (of 1 total)
  • Thread Starter doubledown11

    (@doubledown11)

    ah … nevermind, it was being controlled through the ‘widgets’ item under ‘appearance’.

    strange.

Viewing 1 replies (of 1 total)
  • The topic ‘I deleted Archive and Categories code in sidebar.php, but it still shows up. Y?’ is closed to new replies.