can anyone think of a way to take in a function from the futureposts plugin, and make it work n specific category pages?
this is the part of the futureposts function that makes future-dated posts appear… how can i put this in the loop to work on a category-specific template? (eg. category-2.php, etc)
$content = preg_replace("/AND post_date_gmt <= '.+'/", "AND 1", $content);
here is the link to the plugin page:
and more info about category templates:
- The topic ‘get category template to show future posts only’ is closed to new replies.