How to inject a post within a loop
I am assuming you are doing something like this: if (have_posts()) { while (have_posts()) { the_post(); if(x == j){ //inject post here } } } Injecting a post inside the Loop like that will cause the post count for that page to differ from the posts_per_page value, but it will not break pagination (which seems … Read more