Support » Plugin: List category posts » Orderby – seems to only sort by date, no matter what value specified

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think the order by clause is broken on one of the latest updates, I am seeing a similar problem. In my case, for ages I’ve had it set up to orderby=title and order=asc and now it no longer is sorting the posts alphabetically but by post date.

    Plugin Author Fernando Briano


    Hi, thanks for reporting this but I haven’t been able to reproduce the issue. The orderby and order parameters are working for me on my development and production blogs with the latest version of the plugin. What plugins are you using? It’s possible that some plugin may be conflicting with List Category Posts, though we do use some sort of protection for plugins which may alter the order.

    I’d rather not post all my plugins on here for security reasons, how else can I get you the info you’re requesting?



    I have this problem only with the first [catlist] that I use on a page. The rest work fine. I worked around it by creating a category that I don’t plan to use (xnotused in the example below) and using the code with that category as my first on the page.

    [catlist name=xnotused excerpt=yes order=asc numberposts=3 customfield_orderby=fc_start]

    Then, I list the code that I actually want. You must create the fake category to have this work.

    Any word on a fix for this? Marciamega’s workaround does fix the problem, however, it basically adds a blank carriage return line feed where the notused category should be on the page which isn’t ideal. It seems that the problem still persists even if I try to rollback the plugin to the previous version before this problem started happening several months ago. On my custom theme’s category.php file, this is my code that isn’t working unless if I do the aforementioned workaround.
    <?php if (is_category()) { echo do_shortcode("[catlist id=$cat orderby=title order=asc pagination=yes numberposts=25]"); } ?>

    I have also the problem and can it only fix with the hint by marciamega.
    To prevent a empty line you can use: [catlist name=xnotused template=div]

    @shoppa +1 thanks for the useful info!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Orderby – seems to only sort by date, no matter what value specified’ is closed to new replies.