Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    I can’t reproduce the issue. Ordering by title seems to be working fine for me with this shortcode:
    [catlist orderby=title order=asc]

    Do you think there could be other plugin conflicting with List Category Posts?

    Thread Starter brettbum

    (@brettbum)

    Thanks for the response. Sometimes just knowing that it should work is more than half the battle.

    I played around with it some more. It was ordering things by post id not title. Couldn’t figure out why and eventually tried changing the order of the other items.

    I couldn’t get it to work like this
    [catlist id=1 orderby=title order=asc class=articles-list]

    but when I changed it to

    [catlist orderby=title order=asc id=1 class=articles-list]

    it worked just fine.

    on a separate note, I’m actually running this in an archive.php page (don’t ask) ??

    but in case anyone’s ever interested in doing such a thing, here’s the code I used.

    <?php $whatsthecatid = get_query_var('cat');
               		echo do_shortcode("[catlist orderby=title order=asc id=" . $whatsthecatid . " class=articles-list ]"); ?>
    Thread Starter brettbum

    (@brettbum)

    Sent you a quick little donation. Hope anyone else that reads this thread does the same thing. ??

    Plugin Author Fernando Briano

    (@fernandobt)

    Oh, so the order of the parameters can alter the end result? That’s weird, but glad it worked eventually.

    Thank you very much for your donation ??

    Thread Starter brettbum

    (@brettbum)

    Yep surprised me too. As I was testing early on, I had it working (in alphabetical order by title) then I added the class and must have changed the order or something. I didn’t notice immediately that it stopped displaying in title order until a few days later, which through my troubleshooting off.

    Regardless, happy that we figured it out and thanks again for the great plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mostly working, Orderby title not working’ is closed to new replies.