Support » Plugin: List category posts » Shortcode to List Only Posts before or after a certain date

Viewing 3 replies - 1 through 3 (of 3 total)
  • Related question:

    Is there a Shortcode to display only posts published within a certain date range — e.g. Between October 1, 2015 and February 1, 2016?

    Plugin Author Fernando Briano

    (@fernandobt)

    Hello New WordPress Fan 🙂

    The available parameters right now for date listings are:

    monthnum and year – List posts from a certain year or month. You can use these together or independently. Example: [catlist year=2015] will list posts from the year 2015. [catlist monthnum=8] will list posts published in August of every year. [catlist year=2012 monthnum=12] will list posts from December 2012.

    There’s a series of new date parameters in WP Query since WordPress 3.7 which look like they could be rather easily incorporated into the plugin. I’ll look into it for the next release.

    Thank you very much.

    Meanwhile, I’ll use the year and monthnum code to list every desired month separately.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode to List Only Posts before or after a certain date’ is closed to new replies.