Posted By

gfazioli on 09/14/09


Tagged

query reset


Versions (?)

Wordpress, reset a query


 / Published in: PHP
 

URL: http://www.undolog.com/2009/09/09/very-short-trick-wordpress-resettare-una-query/

  1. // esempio in una ipotetica index.php
  2. // a fine pagina, dopo aver eseguito una o più
  3. // query_posts() personali
  4. <?php wp_reset_query(); get_sidebar(); get_footer(); ?>

Report this snippet  

You need to login to post a comment.