Sign in

#getPostsByTags order by publication date

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


    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.


    Avatar photoTomasz 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!

    Avatar photogpsblues

    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.