Support » Plugin: Display Posts Shortcode » [Plugin: Display Posts Shortcode] Alphabetical Order not working…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bill Erickson


    The issue is that you’re not asking it to sort it alphabetically – you’re sorting it by date. Change it to:

    [display-posts category="recipe" posts_per_page="-1" include_date="true" order="ASC" orderby="title"]

    More info:

    Hi Bill! Thank you SO much for responding. Sorry, I reealize that I pasted the wrong code when I saw your response (I had tested to see if I got different results when I tried sorting by date or alphabetically- but I got the same result).

    But, just in case, I just pasted the code that you provided, updated the page, and I am still getting them sorted by date, even though that’s not what the code calls for. Any ideas?

    Thanks again!

    Plugin Author Bill Erickson


    I just tested it with no plugins running and on the TwentyEleven theme and it sorts alphabetically.

    My guess is you have a theme or plugin that is interacting with WordPress queries. To see if it’s the theme, switch to the default theme and see if the order is correct. If not, switch back to your regular theme and disable plugins one by one.

    Once you’ve identified if it’s a theme or plugin, you can decide if you want to just not use that theme/plugin or hire a developer to solve the actual issue in the theme/plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Display Posts Shortcode] Alphabetical Order not working…’ is closed to new replies.