Repeating Loop on my Posts Page
In order not to interfere with main wp_query I would recommend to use this hook, that I used on one of my websites. //wp_query to buffer $temp_query = clone $wp_query; //Use main wp_query with attributes $wp_query = new WP_Query( array( ‘posts_per_page’ => 10 ) ); if(have_posts()) : while(have_posts()) : the_post(); //your code with html and … Read more