My categories won’t list alphabetically no matter what I do. I changed templates first because I’m not very good with wordpress code. Then I tried changing the tags in the sidebar code, and that didn’t work. I even uploaded the ordermycategories plugin and did it manually through that, and it STILL lists them by ID. What is up with this?
this is the site if it helps: http://eileen.likeafrog.org/
For what I know (and I know little)
Category listing is ID related
personally to easy handle the problem I installed this plugin
Yeah sorry, that’s what I meant–that’s the plugin I already tried and no dice. Thanks though.
Update: here’s what my code looks like.
<?php wp_list_cats('sort_column=name&hierarchical=1'); ?>
Just load 2.0.10 and the default theme uses this
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
and it does put the categories in name order in the sidebar. It also works with hierarchical=1.
You aren’t using Widget by any chance?
Hmm. Is that different from what I’m doing in a way I’m not seeing? I don’t really think it’s worth it for me to switch to the default theme just for this. (I’m not using Widget.) Thanks.
I’m not advocating a permanent switch to the default theme but just noting that it seems to work properly for me.
But if you haven’t made any changes to the default theme, you might change your theme to the default theme to see if it makes a difference.
Okay, so I tried your suggestion, and in the default them (no changes), and they’re still in ID order.
In what order are the categories in the Manage->Categories admin screen?
ittyfitz: You’re editing the sidebar.php file, correct? Are you using Widgets for the sidebar by any chance? If so, then widgets replace the sidebar. Nothing you do in sidebar.php has any effect.
- The topic ‘Categories won’t list alphabetically’ is closed to new replies.