WordPress, like most of you know, allows you to publish a post "post-dated" (good pun). In practice, the post is stored with a date that is yet to come. This allows many bloggers to "schedule" (program) to publish the post without worrying about being in your console to the publication itself. It also allows you to maintain a constant after the publication of even when we are on vacation. Some, then, could affect this function can view posts planned, ie those not yet actually published:
1 2 3 4 5 6 7 8 9 | <p> Coming soon </ p> 'showposts=5&post_status=future' ) ; ?> <? Php query_posts ('post_status = showposts = 5 & 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 programmed <p> post </ p> ; ?> <? Php endif;?> |
The output can be customized at will, being a standard WordPress loop.










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