• Resolved curiouslt

    (@curiouslt)


    I’m loving the plugin so far, but I seem to be stuck at trying to sort my posts so that the latest ones show first. In similar topics that I’ve found, it looks like there is supposed to be a drop down that lets you select your orderby. That is not in mine.

    How do I add this manually?
    I tried orderby=”date ASC” which I saw somewhere else, but that didn’t work.

    Thanks!

    https://wordpress.org/plugins/pods/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Josh Pollock

    (@shelob9)

    There is no dropdown for orderby, you need to enter it manually.

    That said, the default behavior should be to order by most recently published. Is that not what is happening? If it isn’t please tell me what it is ordering by and what content type this Pod is so I can help you get the right order_by.

    Thread Starter curiouslt

    (@curiouslt)

    It looks like it is doing the oldest ones first. We imported this data from another site, don’t know if that could cause any issues with the order. Even when I look at the Pod entries I created in the admin, it is showing the oldest first.

    Plugin Contributor Josh Pollock

    (@shelob9)

    What content type is this Pod? Are you running any custom code for Pods on your site that could be changing the default order?

    Thread Starter curiouslt

    (@curiouslt)

    It’s an advanced content type. I don’t think so, another advanced content type is pulling in in the right order. This one is sorted wrong in the admin too.

    Plugin Contributor Josh Pollock

    (@shelob9)

    That’s very odd. This shouldn’t be necessary but orderby="t.date_created ASC" should work, presuming that date_created is the name of the field with the date you want to orderby. That is the standard, but it could have been changed.

    Thread Starter curiouslt

    (@curiouslt)

    Nope, the first option gave me an error, then I tried variations, but didn’t pull it in recent to oldest. Looking around more, it does look like some of the other Pods have the data in the wrong order. Something had to happen with the data migration b/c it’s in the correct order on the first site. Thanks!

    Plugin Contributor Josh Pollock

    (@shelob9)

    A second user reported this issue today. I created an issue in GitHub
    https://github.com/pods-framework/pods/issues/2151

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pods shortcode popup, no orberby dropdown’ is closed to new replies.