mostrar posts através do LOOP e adicionar 1 class por post Par ou Impar
-
Alguém me consegue ajudar a converter este código para mostrar posts da seguinte forma:
p1 || p2
p3 || p4
p5 || p6<div class=”experiencias”>
<div class=”container”>
<div class=”exp-top”>
<h3 class=”top-title”>Sobre</h3>
<span class=”line”></span>
</div>
<div class=”exp-devide”>
<h4>Experience</h4>
<span class=”devide-line”>
</span>
<label class=”bag”></label>
<div class=”exp-devide-grid-right”>
<h5>DESIGNER</h5>
<small>data</small>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s</p>
</div><div class=”exp-devide-grid-rightb”>
<h5><?php the_title(); ?></h5>
<small>data</small>
<p><?php the_content(); ?></p>
</div><div class=”exp-devide-grid-left”>
<h5>JUNIOR UI DESIGNER</h5>
<small>Microsoft – 2014 . 2015</small>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s</p>
</div>
<div class=”exp-devide-grid-rightb”>
<h5>web-designer</h5>
<small>- 2006 . 2010</small>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s</p>
</div>
</div>…
- O tópico ‘mostrar posts através do LOOP e adicionar 1 class por post Par ou Impar’ está fechado a novas respostas.