Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    þórr mjǫlnir
    draggar's Avatar
    Join Date
    Dec 2007
    Location
    South Florida
    Posts
    12,872
    Country

    Czech Republic
    DNF$
    6,957
    Bank
    116,559
    Total DNF$
    123,516
    Donate  

    Updated to WP 2.9.1 and now categories won't show.

    Just like the title says, I updated WP to 2.9.1 and now the categories show "no categories".

    Here's the code that shows the sidebar and what should be the categories:

    Code:
    if ( is_single() ) :
    global $post;
    $categories = get_the_category();
    foreach ($categories as $category) :
    ?>
        <li>
          <h2><?php _e('More from this category','branfordmagazine');?></h2>
          <ul class="bullets">
            <?php
    $posts = get_posts('numberposts=10&category='. $category->term_id);
    foreach($posts as $post) :
    ?>
            <li><a href="<?php the_permalink(); ?>">
              <?php the_title(); ?>
              </a></li>
            <?php endforeach; ?>
            <li><strong><a href="<?php echo get_category_link($category->term_id);?>" title="<?php _e('View all posts filed under','branfordmagazine');?> <?php echo $category->name; ?>"><?php _e('Archive for','branfordmagazine');?> '<?php echo $category->name; ?>' &raquo;</a></strong></li>
          </ul>
        </li>
        <?php endforeach; endif ; ?>
        <?php if ( is_home() ) { ?>
    
        <?php } ?>
        <li>
          <h3><?php _e('Browse Categories','branfordmagazine');?></h3>
          <ul class="subnav">
           <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=7');?>
          </ul>
        </li>
    It will not show up in single posts or pages either but in single posts it will show "more from this category" and show the correct posts.

    Suggestions?
    Save the wolves - join The Wolf Army today!
    Please follow the rules or suffer the wrath of Thor's Hammer.

  2. #2
    Honan's Avatar
    Join Date
    Mar 2003
    Location
    Australia
    Posts
    4,084
    Country

    Australia Add Honan on Facebook
    DNF$
    3,284
    Bank
    0
    Total DNF$
    3,284
    Donate  
    Did you disable all plugins before updating?
    JOES.com.au Graduate of the DNF College

  3. #3
    þórr mjǫlnir
    draggar's Avatar
    Join Date
    Dec 2007
    Location
    South Florida
    Posts
    12,872
    Country

    Czech Republic
    DNF$
    6,957
    Bank
    116,559
    Total DNF$
    123,516
    Donate  
    No, I only have two active.

    But - I did update one of them and it's working now. Rather odd but eh, I'm glad it's working.

    Thank you for pointing me in the right direction.
    Save the wolves - join The Wolf Army today!
    Please follow the rules or suffer the wrath of Thor's Hammer.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com