Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Floating divs with different heights = butt ugly layout! Re: Floating divs with different heights = butt ugly layout!

#76518
TheDoc
Member

Ah yes, you’ll want to do something like this:

Code:
// Set Counter to 1, First Post
$counter = 1;
if (have_posts()) :
while (have_posts()) :
$counter = $counter + 1;
the_post();
the_content();
if(2 == $counter)
{
echo ‘

‘;
}
endwhile;
endif;