Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <!-- BEGIN content -->
- <div id="main-content" class="">
- <div id="content">
- <?php include("featured.php"); ?>
- <div class="cutting_line"></div>
- <?php
- if (have_posts()) : $side = 'r';
- while (have_posts()) : the_post();
- $arc_year = get_the_time('Y');
- $arc_month = get_the_time('m');
- $arc_day = get_the_time('d');
- $side = ($side=='r') ? 'l' : 'r';
- ?>
- <div class="<?php echo $side; ?>">
- <!-- begin post -->
- <div class="post">
- <h3><a>"><?php the_title(); ?></a></h3>
- <?php dp_attachment_image(0, 'thumbnail', 'alt="' . $post->post_title . '"'); ?>
- <p><?php ob_start(); the_excerpt(); echo dp_clean(ob_get_clean(), 350); ?>...</p>
- <div class="break"></div>
- </div>
- <!-- end post -->
- </div>
- <?php endwhile;?>
- <div class="break"></div>
- <!-- begin post navigation -->
- <div class="postnav">
- <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
- </div>
- <!-- end post navigation -->
- <?php else : ?>
- <div class="notfound">
- <h2>Not Found</h2>
- <p>Sorry, but you are looking for something that is not here.</p>
- </div>
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- </div>
- <!-- END content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement