The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › WordPress posts in separate boxes
Hello I know this might be simple but I just wanted to know how I can achieve my posts to show up in separate Div’s example:
Use WordPress loop
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 ><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<?php endwhile; endif; ?>
Thanks.It works fine.
After putting any image in post, image comes out of the box. boxheight is not incraesing accordingly.Help me.