Forums

[resolved] Post 2.8 install, categories listing isn't showing (14 posts)

  1. sacousino
    Member
    Posted 2 years ago #

    I recently upgraded my blog to version 2.8.

    After this, I noticed my Categories listing on my site isn't displaying. Instead, I get a "No Categories" name under the heading. I don't know if this is related to the install or not.

    The site is http://www.journeysbysteve.com, look on the right sidebar towards the bottom for the Categories heading.

    The code for that area is:

    <li>
          <h3><?php _e('Browse Categories','branfordmagazine');?></h3>
          <ul class="subnav">
           <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=6,11,12,14,15,16,17,18,19,20');?>
          </ul>
        </li>
  2. moondoggy
    Member
    Posted 2 years ago #

    I only get 1 Category the others won't list newbie
    help

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    First deactivate all plugins and see if that resolves the problem.

  4. moondoggy
    Member
    Posted 2 years ago #

    no that didn't work I tried different themes still doesn't work????

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Url?

  6. sacousino
    Member
    Posted 2 years ago #

    I reverted back to 2.7.1 and now my categories are displaying correctly.

    No idea why it wouldn't work with 2.8, but I shouldn't have to uninstall my plugins and etc., especially when they are essentially vital to the operation and design of my site as is. Just sayin'.

  7. moondoggy
    Member
    Posted 2 years ago #

  8. MichaelH
    Volunteer
    Posted 2 years ago #

    @moondoggy - suspect your issue isn't same as sacousino's. You only have one post assigned to one category. You are probably 'hiding' empty categories so use the 'hide_empty=0' argument with the template tag, wp_list_categories().

    @sacousino - I swear I saw the same thing on a test blog, even after deactivating all plugins, but as soon as I edited a Category and saved it, the categories 'came back'. Couldn't duplicate the problem either.

  9. moondoggy
    Member
    Posted 2 years ago #

    not sure where to find these would I change these in the editor?

    or in my database

  10. MichaelH
    Volunteer
    Posted 2 years ago #

    If a widget you can't do anything. Theme editor likely sidebar.php.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  11. moondoggy
    Member
    Posted 2 years ago #

    this is the code for the sidebar however the categories do not show up in nav bar either ??

    <div id="eastsidebar" class="sidebar">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('east_sidebar') ) : ?>

    <!-- categories -->
    <div class="widget widget_categories">
    <h3>Categories</h3>

      <?php wp_list_cats('sort_column=name&optioncount=0&depth=1'); ?>
  12. MichaelH
    Volunteer
    Posted 2 years ago #

    Change
    <?php wp_list_cats('sort_column=name&optioncount=0&depth=1'); ?>

    to
    <?php wp_list_categories('hide_empty=0'); ?>

  13. coolambo
    Member
    Posted 2 years ago #

    Try this:
    On your dashboard, click on posts for the scrolldown.
    Click on categories/ then click add categories.
    Enter your choice of category name.

    This category will still not show on your homepage. It will show only when you have a post in that category.

    To post in that category, hit posts/add new post
    then click on categories list which would be situated on the bottom right hand corner. Do this before you publish your post, otherwise you have to hit edit.

    If no category is selected, the default will be "uncategorized"

  14. moondoggy
    Member
    Posted 2 years ago #

    coolambo That was it'''''rookie mistake Thanks
    MichaelH Thanks for your help as well

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.