Can anyone help me with my category.php theme file.
I want to make a loop that shows future post from the specific category. So the only thing that should be different is that my category.php have to show future post instead of publish post.
I manage to do that with my index.php, but i can't make it work with categories.
My index.php looks like this:
$my_query = new WP_Query('post_status=future&order=ASC');
if ($my_query->have_posts()) : while ($my_query->have_posts()) :
$do_not_duplicate = $post->ID;