How to List Your Upcoming Posts


There is one way to make your readers interact with your blog in a more healthy way by making them eager for what’s coming next. With this hack you can show the posts which will be coming in upcoming days on your blog, this can make your readers eager to what they can read on your blog. Hope this helps.

One Step Procedure:

Note: Do take backup of your theme before you try this.

01. Just paste the following code where you want your upcoming lists to be displayed:

<div id="zukunft">
<div id="zukunft_header">

Future events
</div>

<?php query_posts(‘showposts=10&post_status=future’); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div>
<p class=””><b><?php the_title(); ?></b><?php edit_post_link(‘e’,’ (‘,’)’); ?>

<span class=”datetime”><?php the_time(‘j. F Y’); ?></span>
</p></div>

<?php endwhile; else: ?>

No future events scheduled.

<?php endif; ?>
</div>

02. Save and you are done.

Source

  • Halaman

  • October 2010
    M T W T F S S
    « Sep   Nov »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • RSS 20 Newest Free

  • RSS Brothersoft

  • RSS New Software

  • AntiVirus

  • Status Anda

    IP
  • Pengunjung

    free counters
  • Blog Stats

    • 328,503 hits
  • Add to Google Reader or Homepage Subscribe in NewsGator Online Add to netvibes Subscribe in Bloglines Add to fwicki Add to Webwag Powered by FeedBurner

  • Friends Link

  • RSS Kompas

    • An error has occurred; the feed is probably down. Try again later.
  • RSS Lowongan Kerja Terbaru 2013

    • An error has occurred; the feed is probably down. Try again later.
  • RSS Unknown Feed

    • An error has occurred; the feed is probably down. Try again later.
  • Info Tentang AQ

  • Meta

  • %d bloggers like this: