SHARE
TWEET

Untitled

a guest Jul 31st, 2011 305 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         <?php if (have_posts()) : ?>
  2.         <h1 class="page_title">
  3.         <?php if (is_category()): ?>Posts in category &ldquo;<?php single_cat_title(); ?>&rdquo;
  4.         <?php elseif (is_day()): ?>Archive for "<?php the_time('F jS, Y'); ?>"
  5.         <?php elseif (is_month()): ?>Archive for "<?php the_time('F, Y'); ?>"
  6.         <?php elseif (is_year()): ?>Archive for "<?php the_time('Y'); ?>"
  7.         <?php elseif (is_tag()): ?>Search results for "<?php single_tag_title(); ?>"
  8.         <?php elseif (is_search()): ?>Search results for &ldquo;<?php the_search_query(); ?>&rdquo;
  9.         <?php elseif (is_author()):
  10.                 if(get_query_var('author_name')) :
  11.                 $curauth = get_userdatabylogin(get_query_var('author_name'));
  12.                 else :
  13.                 $curauth = get_userdata(get_query_var('author'));
  14.                 endif;
  15.                 echo $curauth->display_name; ?>'s  Archives  <?php echo get_the_author() ;?>
  16.         <?php elseif (isset($_GET['paged']) && !empty($_GET['paged'])): ?>Blog Archives
  17.         <?php else : ?>Welcome to <?php bloginfo('name');?>
  18.         <?php endif; ?>
  19.         </h1>  
  20.         <ol class="post_list">
  21.         <?php while (have_posts()) : the_post(); ?>
  22.                 <li <?php if (function_exists('post_class')) { post_class(); } else { echo 'class="post"'; } ?> id="post-<?php the_ID(); ?>">
  23.                         <h2 class="content_header"><a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><?php the_title() ?></a></h2>
  24.                         <div class="excerpt"><?php the_excerpt(); ?></div>
  25.                 </li>
  26.                 <?php endwhile; ?>
  27.         </ol>
  28.         <?php  lj_pagination();         ?>
  29.         <?php else : ?>
  30.         <div class="post">
  31.         <h1>Nothing found.</h1>
  32.         </div>
  33.                         <?php endif; ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top