Soporte » WordPress Avanzado » Me ayudan a mejorar este codigo

  • <div class=»opportunities-wrapper»>

    • <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
      <?php if ( in_category(‘One Box’) ) { ?>
      <div class=»entry»> <?php the_content(); ?></div><?php } ?><?php endwhile; ?><?php endif; ?>
      <span class=»icons arrow-right»></span>
    • <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
      <?php if ( in_category(‘Two Box’) ) { ?>
      <div class=»middle-box-text»> <?php the_content(); ?></div><?php } ?><?php endwhile; ?><?php endif; ?>
      <span class=»icons arrow-right»></span>

    • <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
      <?php if ( in_category(‘Three Box’) ) { ?>
      <div class=»last-box-text»> <?php the_content(); ?></div><?php } ?><?php endwhile; ?><?php endif; ?>

    </div>

    Le agradezco sus ayudas 😀

  • El debate ‘Me ayudan a mejorar este codigo’ está cerrado a nuevas respuestas.