Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header();?>
- <div style="clear:both"></div>
- <div class="maincontent_area fix">
- <div class="content_left floatleft fix shadow">
- <?php if(!is_paged()) { ?>
- <?php
- $args = array( 'post_type' => 'post','posts_per_page' => 2, 'paged' => $paged );
- $loop = new WP_Query( $args );
- ?>
- <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div class="single_content fix">
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <a href="<?php the_permalink();?>"><?php the_post_thumbnail('thumb', array('class' => 'imgthumb')); ?></a>
- <p><?php echo excerpt('60'); ?> </p>
- <?php get_template_part( 'postmeta' ); // Post Meta (postmeta.php) ?>
- </div>
- <div class="line fix"></div>
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- <?php } ?>
- </div>
- <?php if (function_exists("pagination")) {
- pagination($additional_loop->max_num_pages);
- } ?>
- <?php get_sidebar();?>
- </div>
- </div>
- <?php get_footer();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement