Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="top-posts">
- <?php
- if (have_posts()) :
- while(have_posts()) : the_post();?>
- <div class="content">
- <?php the_post_thumbnail('archive'); ?>
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- </div>
- <?php endwhile;?>
- <?php endif;?>
- </div>
- <div class="primary-posts">
- <?php
- if (have_posts()) :
- while(have_posts()) : the_post();?>
- <h2><a href="<?php the_permalink(); ?>" ><?php the_title(); ?></a></h2>
- <?php endwhile;?>
- <?php endif;?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement