Forums

[resolved] Categories (that have posts) not showing since 2.8.6 upgrade (10 posts)

  1. Lina Z.
    Member
    Posted 2 years ago #

    Hi I just realized that categories are not showing now.
    I've recently upgraded to 2.8.6.

    The categories do have posts in them (they are not empty).
    (I am mentioning these because it was the issue at previous support posts)

    I call them in sidebar.php of my theme with this:
    <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=97,92,96,106');?>

    I've also tried <?php wp_list_categories('show_option_all');?>
    but it still won't show them.

    I see the categories in the Admin panel, they are all there, with their IDs intact.
    But it prints "No categories" in the sidebar where it should show them.

    Help please!
    (I understand basics of php)

  2. Lina Z.
    Member
    Posted 2 years ago #

    Also, I don't see the CodePress syntax highlighting that I've heard is available in 2.8.6

    Is there somewhere where it needs to be activated?

  3. Lina Z.
    Member
    Posted 2 years ago #

    changed code to
    <?php wp_list_categories('orderby=name&hide_empty=1&title_li=&exclude=92,96,97,106');?>
    to have in correct ascending order... no solution.

  4. henkholland
    Member
    Posted 2 years ago #

    When using non default permalinks it sometimes helps to change back to default, do a save and then switch again to your choice of permalinks.
    I had to do this afte rmy upgrade from 2.7.1. My menu only showed "No categories" but everything was visible in the Admin.

  5. Lina Z.
    Member
    Posted 2 years ago #

    OK, weird... this got fixed on its own.

    Thanks for the suggestion @henkholland...fortunately I didn't have to do what you suggested.
    Out of curiosity, is doing what you suggest safe from the point of view of keeping links intact?
    (for search engines)
    Would the custom permalinks be re-created exactly the same?

  6. henkholland
    Member
    Posted 2 years ago #

    I did it many times and yes:
    it is keeping the links intact
    they are created the same

    but I do not know what happens when you do it during a visit of THE GOOGLEBOT.

  7. tptrillion
    Member
    Posted 2 years ago #

    Please i need help with my categories not appearing as well. In my dashboard it shows that i have 7 categories created, but on my blog page it shows "No Categories".

    And also all my tags no longer link to my posts as they ususally do. Clicking any of the tags will show up " sorry no tag matched your criteria"

    Please, what do i do to rectify this problem. I use the latest wordpress version 2.8 as well.

    Thanks.

  8. henkholland
    Member
    Posted 2 years ago #

    Hi tptrillion,

    Did you try this:
    When using non default permalinks it sometimes helps to change back to default, do a save and then switch again to your choice of permalinks.
    I had to do this after my upgrade from 2.7.1. My menu only showed "No categories" but everything was visible in the Admin.

  9. tptrillion
    Member
    Posted 2 years ago #

    thanks henkholland...

    i just tried and it's fine now.

    thanks

  10. maybedog
    Member
    Posted 2 years ago #

    I am having this same problem and it is still not working. I tried changing to default permalinks and back and it didn't help. They were working fine a few hours ago. Then I deleted some and recreated them. Now the new ones aren't working. They look identical to the ones that existed before.

Topic Closed

This topic has been closed to new replies.

About this Topic