Wordpress, reset a query


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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(); ?>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.