• I am working on a site that is an internal company newsletter that is released monthly. To help the content manager I built a page that is a duplicate of the home page (which shows the current issue) and shows next month’s articles so that she can preview everything before the next release. We show the month and year of the issue at the top of the page using the_time, which has worked fine for the current issue, but it only pulls the current date when I display the future articles. Any way to display “Month + 1” or am I doing something wrong that the_time isn’t referencing the postings I just queried?

    Here is the code:

    `<?php
    get_header();
    query_posts(‘category_name=next-month&meta_key=home_order&orderby=meta_value&order=asc&post_status=future’);
    ?>
    <!– mid content –>
    <div id=”mid-content”><h1 class=pagetitle><?php the_time(‘F Y’) ?></h1>`

The topic ‘Display Date from Future Posts’ is closed to new replies.