• Resolved scottriggle

    (@scottriggle)


    I’ve been watching your videos and I guess I’m missing something. I can’t find how to order archive pages or taxonomy pages, they’re in order of how they were created. These are automatic with pods and not a page with a shortcode.

    I had to add:
    $query->set(‘order’, ‘ASC’);
    //Set the orderby
    $query->set(‘orderby’, ‘title’);
    to my functions file to get it to work, but would think there would be a simple order by when creating a pod and viewing its archive page.

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @scottriggle

    Pods merely registers the posts and terms, it doesn’t create the archive templates or change the default way WordPress queries posts.
    If you need to modify the archive query then using filters (like you’ve already done) is indeed the best way!

    Cheers, Jory

Viewing 1 replies (of 1 total)

The topic ‘Ordering’ is closed to new replies.