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:
<?php query_posts(‘showposts=10&post_status=future’); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<p class=””><b><?php the_title(); ?></b><?php edit_post_link(‘e’,’ (‘,’)’); ?>
<span class=”datetime”><?php the_time(‘j. F Y’); ?></span>
<?php endwhile; else: ?>
No future events scheduled.
<?php endif; ?>
02. Save and you are done.
Filed under: Info Computer |