Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="maincontent" class="clearfix">
- <div class="leftcontent">
- <ul id="post-list" class="post-list">
- <?php query_posts('orderby=rand'); ?>
- <?php query_posts('posts_per_page=1&author_name=author1'); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><?php edit_post_link('Edit', ' (', ')'); ?></h2>
- <p class="p-cat">In: <?php the_category('|') ?></p>
- <p class="p-author"><span class="name"><?php the_author_posts_link(); ?></span> <span class="avatar"><?php echo get_avatar( $email, $size = '32' ); ?></span></p>
- <small class="p-time">
- <strong class="day"><?php the_time('j') ?></strong>
- <strong class="month"><?php the_time('M') ?></strong>
- <strong class="year"><?php the_time('Y') ?></strong>
- </small>
- <section class="content">
- <?php the_content('<p>Read the rest of this page »</p>'); ?>
- </section>
- <div class="p-det">
- <ul>
- <li class="p-det-com"><?php comments_popup_link('No Comments', '(1) Comment', '(%) Comments'); ?></li>
- <?php if (function_exists('the_tags')) { ?> <?php the_tags('<li class="p-det-tag">Tags: ', ', ', '</li>'); ?> <?php } ?>
- </ul>
- </div>
- </article>
- <?php endwhile; endif; ?>
- <?php rewind_posts(); ?>
- <?php query_posts('posts_per_page=1&author_name=author2'); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><?php edit_post_link('Edit', ' (', ')'); ?></h2>
- <p class="p-cat">In: <?php the_category('|') ?></p>
- <p class="p-author"><span class="name"><?php the_author_posts_link(); ?></span> <span class="avatar"><?php echo get_avatar( $email, $size = '32' ); ?></span></p>
- <small class="p-time">
- <strong class="day"><?php the_time('j') ?></strong>
- <strong class="month"><?php the_time('M') ?></strong>
- <strong class="year"><?php the_time('Y') ?></strong>
- </small>
- <section class="content">
- <?php the_content('<p>Read the rest of this page »</p>'); ?>
- </section>
- <div class="p-det">
- <ul>
- <li class="p-det-com"><?php comments_popup_link('No Comments', '(1) Comment', '(%) Comments'); ?></li>
- <?php if (function_exists('the_tags')) { ?> <?php the_tags('<li class="p-det-tag">Tags: ', ', ', '</li>'); ?> <?php } ?>
- </ul>
- </div>
- </article>
- <?php endwhile; endif; ?>
- <?php rewind_posts(); ?>
- <?php query_posts('posts_per_page=1&author_name=author3'); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><?php edit_post_link('Edit', ' (', ')'); ?></h2>
- <p class="p-cat">In: <?php the_category('|') ?></p>
- <p class="p-author"><span class="name"><?php the_author_posts_link(); ?></span> <span class="avatar"><?php echo get_avatar( $email, $size = '32' ); ?></span></p>
- <small class="p-time">
- <strong class="day"><?php the_time('j') ?></strong>
- <strong class="month"><?php the_time('M') ?></strong>
- <strong class="year"><?php the_time('Y') ?></strong>
- </small>
- <section class="content">
- <?php the_content('<p>Read the rest of this page »</p>'); ?>
- </section>
- <div class="p-det">
- <ul>
- <li class="p-det-com"><?php comments_popup_link('No Comments', '(1) Comment', '(%) Comments'); ?></li>
- <?php if (function_exists('the_tags')) { ?> <?php the_tags('<li class="p-det-tag">Tags: ', ', ', '</li>'); ?> <?php } ?>
- </ul>
- </div>
- </article>
- <?php endwhile; endif; ?>
- <?php rewind_posts(); ?>
- <?php query_posts('posts_per_page=1&author_name=author4'); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><?php edit_post_link('Edit', ' (', ')'); ?></h2>
- <p class="p-cat">In: <?php the_category('|') ?></p>
- <p class="p-author"><span class="name"><?php the_author_posts_link(); ?></span> <span class="avatar"><?php echo get_avatar( $email, $size = '32' ); ?></span></p>
- <small class="p-time">
- <strong class="day"><?php the_time('j') ?></strong>
- <strong class="month"><?php the_time('M') ?></strong>
- <strong class="year"><?php the_time('Y') ?></strong>
- </small>
- <section class="content">
- <?php the_content('<p>Read the rest of this page »</p>'); ?>
- </section>
- <div class="p-det">
- <ul>
- <li class="p-det-com"><?php comments_popup_link('No Comments', '(1) Comment', '(%) Comments'); ?></li>
- <?php if (function_exists('the_tags')) { ?> <?php the_tags('<li class="p-det-tag">Tags: ', ', ', '</li>'); ?> <?php } ?>
- </ul>
- </div>
- </article>
- <?php endwhile; endif; ?>
- <?php rewind_posts(); ?>
- <?php query_posts('posts_per_page=1author_name=admin'); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><?php edit_post_link('Edit', ' (', ')'); ?></h2>
- <p class="p-cat">In: <?php the_category('|') ?></p>
- <p class="p-author"><span class="name"><?php the_author_posts_link(); ?></span> <span class="avatar"><?php echo get_avatar( $email, $size = '32' ); ?></span></p>
- <small class="p-time">
- <strong class="day"><?php the_time('j') ?></strong>
- <strong class="month"><?php the_time('M') ?></strong>
- <strong class="year"><?php the_time('Y') ?></strong>
- </small>
- <section class="content">
- <?php the_content('<p>Read the rest of this page »</p>'); ?>
- </section>
- <div class="p-det">
- <ul>
- <li class="p-det-com"><?php comments_popup_link('No Comments', '(1) Comment', '(%) Comments'); ?></li>
- <?php if (function_exists('the_tags')) { ?> <?php the_tags('<li class="p-det-tag">Tags: ', ', ', '</li>'); ?> <?php } ?>
- </ul>
- </div>
- </article>
- <?php endwhile; endif; ?>
- </ul>
- </div>
- <!-- END div.leftcontent -->
- <?php get_sidebar(); ?>
- </div>
- <!-- END div#maincontent -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement