Rearrange the title, the thumbnail, and the content in a theme template

This seems too simple. I am afraid that I have badly misunderstood something. Apologies if that is the case. Alter single-page-news.php to be… <div class=”thirteen columns”><?php the_post_thumbnail(); ?> <div class=”title-single”> <h2><?php the_title(); ?></h2> </div><?php the_content(); ?> </div>

wordpress taxonomy results

have_posts() iterates over all posts found and actually returned in the query which depend in the posts_per_page parameter. And for your second question, using query_posts() does overwrite the query and its not really the recommend method to alter or modify the query result, here is a nice question that explains better ways : When should … Read more

Display only posts with comments

Since you are in a loop you can use the function get_comments_number(). Retrieves the value of the total number of comments, Trackbacks, and Pingbacks for a post. This tag must be within The Loop. Unlike comments_number() this function will return the value as a numeric value. Use it for example as follows: $num_comments = get_comments_number(); … Read more

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