<?php $firstMarked = false; ?>
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
<div class="item <?php echo !$firstMarked ? "active":"";?>">
<?php the_post_thumbnail('full');?>
<div class="container">
<div class="caption">
<h1>
<?php the_title(); ?>
</h1>
<p>
<?php the_excerpt(); ?>
</p>
</div>
</div>
</div>
<?php $firstMarked = true;?>
<?php endwhile; ?>
I should: have skills in Web Designing and graphics have creativity and imagination be adaptable and able to pick up new techniques have good interpersonal and communication skills keep up to date with advances in computer technology and how this affects the business environment
Tuesday, 5 April 2016
how to set a active class on first div in wordpress
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank's for submitting your comment.