I want to customize the looping of my posts to display the posts as follows, the first to the left and the second to the right, and so on. It went wrong (and I knew I would), but I ran a test like this:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<p align="left"><?php the_title( '<h3>', '</h3>' ); ?>
<?php the_time( $d ); ?>
<?php the_category( ' ' ); ?></p>
<p align="right"><?php the_title( '<h3>', '</h3>' ); ?>
<?php the_time( $d ); ?>
<?php the_category( ' ' ); ?></p>
<?php endwhile; else : ?>
<p><?php _e( 'Sem posts para exibição' ); ?></p>
<?php endif; ?>
This was just a test to see if it worked, well, it did not work ... I would like some help from the skulls, because I did not find what I wanted in the documentation ... Thank you ...