wp_list_cat woes (4 posts)

  1. gasaraki99
    Posted 9 years ago #

    A couple of weeks I edited the sidebar.php in my themes dir b/c I wanted it to show the categories in ID order. I changed the code to <?php wp_list_cats('sort_column=id'); ?>

    and it worked perfectly. A week ago the categories went back to being ordered by name. The code in the sidebar.php in the themes dir is exactly the same. I'm using the Andreas09 theme.

    Something else is overriding the categories section of the sidebar.php file in the Andreas09 theme dir b/c even if I delete the <?php wp_list_cats('sort_column=id'); ?> line all together, the categories still show up.

    Does anyone know what file is overriding it? I've got the following plugins activated - Akismet, Sidebar Widgets, and Google Search Widget.

  2. digitalpen
    Posted 9 years ago #

    I'd place my bets on Sidebar Widgets. Is that plugin disabled? If not, disable it and see what happens.

  3. If you're using Sidebar widgets, then the sidebar.php doesn't control the content of your sidebar, the widgets do. Go to Presentation->Sidebar widgets.

    You can get new widgets to use at http://widgets.wordpress.com , including some really easy to configure category list widgets, if you don't like the default one.

  4. gasaraki99
    Posted 9 years ago #

    Thank you so much! I downloaded the Category Replacement Widget and it worked flawlessly.

Topic Closed

This topic has been closed to new replies.

About this Topic