• Resolved misharnet

    (@misharnet)


    Hi,
    I cannot find the exact answer to this, so …
    I use shortcode to list Pods items in frontpage. I don’t know what orderby value to use to show newest items first.
    [pods name=”tip” limit=”10″ orderby=”WHAT?” template=”Tips Template”]

    You can just use orderby=”ASC” to get newest item first. It seems that defailt is the oldest items first.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    @misharnet You would order by post_date as that’s the field in wp_posts that contains the published date. So you would change your shortcode to:

    [pods name="tip" limit="10" orderby="post_date DESC" template="Tips Template"]

    Just using ASC would definitely only grab the posts in ‘post order’ but if you wanted to make sure certain ones were at the top, the Publish date is the better solution.

    Thread Starter misharnet

    (@misharnet)

    Thanks so much, GREAT PLUGIN!

    Plugin Contributor Jim True

    (@jimtrue)

    You’re welcome and Thank You ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple Pods Items List Newest First’ is closed to new replies.