• Of all the wonderful things that Display Posts can control, I can’t find one that limits the period of time the Post is displayed. For example, I want certain posts to “disappear” after 90 days without me going in and doing it manually.

Viewing 1 replies (of 1 total)
  • sam

    (@samjoelnang)

    @rwcommm You can add this perimeter in your code:

    date_query_after=”-90 days”

    That should only display posts from the last 90 days, hence all post falling outside of that time frame will not be displayed.

    Let me know if it works.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove Post After Specified Period’ is closed to new replies.