Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

#getPostsByTags order by publication date

  • #5618
    Avatar photo[anonymous]

    Hello,

    Is it possible to sort posts by publication date using {{#getPostsByTags “orderby=…”}}.
    What are the values to use with orderby?

    I tried with:

    • orderby=published
    • orderby=publishedAt
    • orderby=published_At

    but they are wrong.

    Thankyou

    #5627
    Avatar photo[anonymous]

    Hi,

    Please try to use created_at

    #5636
    Avatar photo[anonymous]

    Thank you Tomasz,

    works with createdAt

    🙂