WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] manage posts to remove from loop after certain time period (3 posts)

  1. akallen
    Member
    Posted 4 years ago #

    I have a jobs site and would like to only show the jobs on the home page for a certain time period, like 2 months. There's no point in showing jobs that have been closed for some time. Is there a plugin for this?

    Thanks,
    Kris

  2. MichaelH
    Member
    Posted 4 years ago #

    There's examples that you might find useful here:
    Template_Tags/query_posts#Time_Parameters

  3. akallen
    Member
    Posted 4 years ago #

    Thanks MichaelH. That worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Topic