• Resolved Steve Cousino

    (@sacousino)


    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 https://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>
Viewing 13 replies - 1 through 13 (of 13 total)
  • I only get 1 Category the others won’t list newbie
    help

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

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

    Url?

    Thread Starter Steve Cousino

    (@sacousino)

    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’.

    @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.

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

    or in my database

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

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

    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’); ?>

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

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

    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”

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Post 2.8 install, categories listing isn’t showing’ is closed to new replies.