Sign in

#getPostsByTags order by publication date

  • This topic has 2 replies, 2 voices, and was last updated 7 months, 3 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #5618


    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.


    Tomasz Dziuda


    Please try to use created_at

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!


    Thank you Tomasz,

    works with createdAt


Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.