WordPress.org

Ready to get started?Download WordPress

Forums

Oulipo
Categories widget doubles in the sidebar (1 post)

  1. viraks
    Member
    Posted 2 years ago #

    Hello!

    Website- lauratolpeznikova.com

    Basically when I activate my categories widget it shows up as two separate ones.

    Here is sidebar.php
    <div id="supplementary">
    <div class="meta">
    <?php if (is_home() || is_page()) {?>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <!--
    • <h3>About</h3>
      <p>Uncomment this section if you want to put some information about you or the site here</p>
    • -->

      <?php endif; ?>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_tag()) { ?>
    <div class="post_nav">
    <h3>Where Am I?</h3>
    <p>You are currently browsing entries tagged with <?php single_tag_title(); ?> at
    "><?php bloginfo('name'); ?>.</p>
    <div class="spacer"></div>
    </div>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_month()) { ?>
    <div class="post_nav">
    <h3>Where am I?</h3>
    <p>You are currently viewing the archives for <?php the_time('F, Y'); ?> at
    "><?php bloginfo('name'); ?>.</p>
    <div class="spacer"></div>
    </div>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_year ()) { ?>
    <div class="post_nav">
    <h3>Where am I?</h3>
    <p>You are currently viewing the archives for <?php the_time('Y'); ?> at "><?php bloginfo('name'); ?>.</p>
    <div class="spacer"></div>
    </div>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_day()) { ?>
    <div class="post_nav">
    <h3>Where am I?</h3>
    <p>You are currently viewing the archives for <?php the_time('l, F jS, Y'); ?> at "><?php bloginfo('name'); ?>.</p>
    <div class="spacer"></div>
    </div>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_search()) {?>
    <div class="post_nav">
    <h3>Search Results</h3>
    <p>You are currently viewing the search results for <?php the_search_query(); ?>.</p>
    <div class="spacer"></div>
    </div>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_page('about')) {?>
    <div class="post_nav">
    <h3>Blogroll</h3>

      <?php wp_list_bookmarks('categorize=0&title_li=0&title_after=&title_before=');?>

    </div>

      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar() ) : ?>
      <?php endif; ?>

    <?php } elseif (is_page('contact')) {?>
    <?php } ?>
    </div> <!-- close meta -->
    </div> <!-- close supplementary -->

    </div> <!-- close content -->

    Any idea what might be wrong? Thanks!

    http://wordpress.org/extend/themes/oulipo/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags