Very short snippet: Wordpress, soon on your blog
Thursday, July 2, 2009WordPress, like most of you know, can you post "post-dated" (great pun). In practice, the post is stored with a date that has yet to arrive. This allows many bloggers to "schedule" (schedule) publishing post without worrying about being physically present in the console for the publication itself. It also allows you to keep publishing firm place even when we are on vacation. Someone, then, could affect this function can show posts planned, ie those not yet actually published:
- Soon <p> </ p>
- 'showposts=5&post_status=future' ) ; ?> <? php query_posts ( 'showposts = 5 & post_status = future');?>
- ( have_posts ( ) ) : while ( have_posts ( ) ) : the_post ( ) ; ?> <? php if (have_posts ()): while (have_posts ()): the_post ();?>
- <div>
- ; ?> </h2> <h2> <? php the_title ();?> </ h2>
- </ div>
- ; else : ?> <? php endwhile; else:?>
- No posts <p> program </ p>
- ; ?> <? php endif;?>
The output can be customized at will, being a standard loop of WordPress.













[...] Very short snippet: Wordpress, on your blog shortly [...]