Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (have_posts()) : $postCount = 1; while (have_posts()) : $postCount++; ?>
- <?php if($postCount == 2) { ?>
- <div class="container">
- <div class="inner_box">
- <ul>
- <div class="title">
- <a href="<?php the_permalink();?>">
- <?php the_title(); ?>
- </div>
- <?php the_content(); ?>
- </a>
- </ul>
- </div>
- <div class="up"></div>
- </div>
- <?php } else { ?>
- <div class="container">
- <div class="inner_box">
- <ul>
- <div class="title">
- <a href="<?php the_permalink();?>">
- <?php the_title(); ?>
- </div>
- <?php the_content(); ?>
- </a>
- </ul>
- <div class="down"></div>
- </div>
- </div>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement