This line of code was working a min ago and since I clicked the auto upgrade from 2.8 and moved to 2.8.1 the code doesn’t work – my sidebar says No Categories???
<?php wp_list_categories(‘orderby=order&include=23,25,26,27,20&depth=2&title_li=’); ?>
wp_list_categoriesworks just fine in 2.8.1
Try deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
I think it’s more to do with the plugin my category order. I’ve decided to hard code category list instead easier and quicker in the long run, should have done it from the start.
Thank you anyway
Strange. I’ve not had any problems with that plugin and 2.8.
I also just discovered this problem with wp_list_categories in 2.8.1! Plugins do not seem to be the problem for me, though I will continue to test them all again 🙁
I have not been able to spot the reason for the problem or any relation to my plugins 🙁
I too am going to hardcode in the category names and links, as that seems the only solution right now.
I am also having the same problem. I am using the following:
You’ve set it to return instead of echo… (
Would be of use to see the accompanying code in that case..
Does removing any of the optional parameters have an effect on whether you get any functionality?
Thanks for making me look at it from a different angle. I replaced the above code with the following:
So the culprit in this case was
&orderby=menu_order. Not sure where I picked up menu_order from as it does not seem to be a documented variable in the codex. Strangely enough the old code was working before upgrading to 2.8.1 from 2.7.
- The topic ‘wp_list_categories 2.8.1 stopped working’ is closed to new replies.