How to: List Upcoming/Scheduled Posts in WordPress
If you Schedule posts on daily basis and don’t let your post que go empty you may want to display a list of pending or upcoming posts. This way you can gather interest of your visitors and they possibly will subscribe to your blog.
Simply put the following code anywhere in your WordPress blog theme file to show list of upcoming posts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Upcomming Posts: <?php query_posts('showposts=10&post_status=future'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_title(); ?> <?php edit_post_link('e',' (',')'); ?> <span><?php the_time('j. F Y'); ?></span> <?php endwhile; else: ?> No future events scheduled. <?php endif; ?> |





[...] This post was mentioned on Twitter by WP Skinner, WP Skinner. WP Skinner said: How to Customize WordPress Dashboard By Add/Remove Widgets http://bit.ly/cLROES [...]