First comment count appearing separate from post
-
I’m not a developer, but I’ve been playing around with the Twenty Eleven theme trying to get something I like. I put some stuff before the entries on my blog page in the index.php file but now the comment count is showing amidst that stuff and separate from the first post.
http://healthybodyrevolution.com/blog/
Here is the stuff I added in relation to the standard divs:
<div id="content" role="main"> <div id="primary"> <center><img src="http://healthybodyrevolution.com/wp-content/uploads/2011/09/blog-head.png" /></center> <!--Category Images--> <div class="hor"> <a href="/category/nutrition-blog"><img src="http://healthybodyrevolution.com/wp-content/uploads/2011/09/nutrition-thumb.png" alt="Nutrition" width="198" height="136" /></a> <a href="/category/fitness-blog"><img src="http://healthybodyrevolution.com/wp-content/uploads/2011/09/fitness-thumb.png" alt="Fitness" width="198" height="136" /></a> <a href="/category/wellness-blog"><img src="http://healthybodyrevolution.com/wp-content/uploads/2011/09/wellness-thumb.png" alt="Wellness" width="198" height="136" /></a> <a href="/category/motivation-blog"><img src="http://healthybodyrevolution.com/wp-content/uploads/2011/09/motivation-thumb.png" alt="Motivation" width="198" height="136" /></a></div> <?php if ( have_posts() ) : ?>If I put div id=”primary” below my added images, the comment count goes with the first post, but then the sidebar shifts down. I know, I’m not doing this by the book but is there a simple solution to get the comment count to go with the first post and leave everything else where it is?
The topic ‘First comment count appearing separate from post’ is closed to new replies.