Why is it necessary to call rewind_posts() when using the loop more than once? [duplicate]
Global rewind_posts File: wp-includes/query.php 784: /** 785: * Rewind the loop posts. 786: * 787: * @since 1.5.0 788: * 789: * @global WP_Query $wp_query Global WP_Query instance. 790: */ 791: function rewind_posts() { 792: global $wp_query; 793: $wp_query->rewind_posts(); 794: } and rewind_posts from WP_Query class. File: wp-includes/class-wp-query.php 3144: * Rewind the posts and reset … Read more