• Resolved djr3110

    (@djr3110)


    HELP!!!

    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=’); ?>

    Anyone

Viewing 9 replies - 1 through 9 (of 9 total)
  • wp_list_categories works 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).

    Thread Starter djr3110

    (@djr3110)

    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.

    WPChina

    (@wordpresschina)

    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 ??

    WPChina

    (@wordpresschina)

    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:

    wp_list_categories('title_li=&use_desc_for_title=0&orderby=menu_order&hierarchical=1&echo=0')

    wp_list_categories('title_li=&use_desc_for_title=0&orderby=menu_order&hierarchical=1&echo=0')

    You’ve set it to return instead of echo… (echo=0)

    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:

    wp_list_categories('title_li=&use_desc_for_title=0&hierarchical=1&echo=0&orderby=ID')

    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.

    I had the same problem, just re install “My Category Order” plug in. Select My Category Order from the menu and the taxonomy file will be patched again. That worked for me! WP 2.8.4

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wp_list_categories 2.8.1 stopped working’ is closed to new replies.