• Resolved pcgardner

    (@pcgardner)


    I am very impressed by Display Posts Shortcode. However, I cannot find a way to display all posts dated within the last 6 months, say. The date_after parameter only seems to take a specific date. Is there any way to do this? It’s what I want to display recent news items; it would be tedious to have to change the date_after manually every month.

Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Thanks for the kind words.

    You can use the “relative date format” with the date_after parameter, like so:

    [display-posts date_query_after=”6 months ago”]

Viewing 1 replies (of 1 total)
  • The topic ‘Display posts dated within the last x months’ is closed to new replies.