For an external development I needed to be able to display future posts but not all future posts. I started with the future posts plugin of Michael Moncur but it doesn’t fit to what I really needed.

The posts to be displayed should have been maximum 20 days in the future…

So the plugin is now able to display the future posts of ‘x’ days (defined via an simple administration screen).

To have that I wrote “nearfutureposts plugin.

To install the plugin :

  • copy the nearfutureposts.phps file in the wp-content/plugin directory (don’t forget to rename it as ‘nearfutureposts.php’).
  • Activate the plugin.
  • define the number of days in future to display via the menu “Option/NearFuture” (default value sets to 30 days)