Problem with automatic paragraph tag
-
I’m beating my head against a wall trying to figure out what this isn’t displaying properly. I have a loop for posts to appear on my home page that looks like this:
<?php $recent = new WP_Query("cat=1&showposts=3"); while($recent->have_posts()) : $recent->the_post();?> <div class="homePost"> <div class="postTN"><?php if (class_exists('MultiPostThumbnails') && MultiPostThumbnails::has_post_thumbnail('post', 'secondary-image')) : MultiPostThumbnails::the_post_thumbnail('post', 'secondary-image'); endif; ?></div> <a href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a> <?php the_excerpt(); ?> </div> <?php endwhile; ?>
WordPress, by default is putting the excerpt into a paragraph tag which for some unknown reason is kicking the paragraph down below the photo which is aligned left. Here’s the site:
https://www.gunsandammo.info/Any suggestions?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Problem with automatic paragraph tag’ is closed to new replies.