Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <!-- begin colLeft -->
- <div id="column_01">
- // NEWER //
- <?php query_posts('showposts=5'); ?>
- <?php $posts = get_posts('numberposts=5&offset=0'); foreach ($posts as $post) : start_wp(); ?>
- <?php static $count1 = 0; if ($count1 == "5") { break; } else { ?>
- <div class="thumbnail_title"><a href="<?php the_permalink() ?>"><?php the_title(); ?> <?php comments_popup_link('(0)', '(10)', '(%)'); ?></a></div>
- <div class="thumbnail_date"><?php the_time('M') ?> <?php the_time('j') ?>, <?php the_time('Y') ?> (<?php print_page_views(get_the_ID('')); ?> views)</div>
- <div class="postThumb"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a></div>
- <?php $count1++; } ?>
- <?php endforeach; ?>
- </div>
- <div id="column_wrap">
- <div id="column_02">
- to
- <?php query_posts('showposts=5'); ?>
- <?php $posts = get_posts('numberposts=5&offset=5'); foreach ($posts as $post) : start_wp(); ?>
- <?php static $count2 = 0; if ($count2 == "5") { break; } else { ?>
- <div class="thumbnail_title"><a href="<?php the_permalink() ?>"><?php the_title(); ?> <?php comments_popup_link('(0)', '(10)', '(%)'); ?></a></div>
- <div class="thumbnail_date"><?php the_time('M') ?> <?php the_time('j') ?>, <?php the_time('Y') ?> (<?php print_page_views(get_the_ID('')); ?> views)</div>
- <div class="postThumb"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a></div>
- <?php $count2++; } ?>
- <?php endforeach; ?>
- </div>
- <div id="column_03">
- // OLDER //
- <?php query_posts('showposts=5'); ?>
- <?php $posts = get_posts('numberposts=5&offset=10'); foreach ($posts as $post) : start_wp(); ?>
- <?php static $count3 = 0; if ($count3 == "5") { break; } else { ?>
- <div class="thumbnail_title"><a href="<?php the_permalink() ?>"><?php the_title(); ?> <?php comments_popup_link('(0)', '(10)', '(%)'); ?></a></div>
- <div class="thumbnail_date"><?php the_time('M') ?> <?php the_time('j') ?>, <?php the_time('Y') ?> (<?php print_page_views(get_the_ID('')); ?> views)</div>
- <div class="postThumb"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a></div>
- <?php $count3++; } ?>
- <?php endforeach; ?>
- </div>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement