• I’m having a problem with my categories which I’ve been unable to solve after alot of searching and reading. I have three categories, the default one which I’ve renamed, and two others. Yet in my sidebar using the list_cats code it will only list category number 2 for some reason. I haven’t specified any id number in the code because I would like all three categories listed. I’m not sure if I’m using the wrong code or need to add something on to it.
    Thanks in advance for any help.
    https://guitard.org

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you have posts in those two categories? Empty categories by default are not displayed.

    Thread Starter jamjar

    (@jamjar)

    Yep I have at least one post in each category. I can see the three categories in my admin panel.

    Thanks for the speedy reply. ( :

    What is exactly the code you are using in the sidebar? Post it here in between backticks.

    Thread Starter jamjar

    (@jamjar)

    <li><h2><?php _e('Categories'); ?></h2>
    <ul>
    <?php list_cats() ?>
    </ul>
    </li>

    That was the original code that came with the theme. I haven’t changed it at all.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Won’t show all categories’ is closed to new replies.