utnalove

blog-layout.php

Dec 7th, 2012
168
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3.     <div id="middle_single">
  4.         <?php rewind_posts();if (have_posts()) : ?>
  5.             <?php while (have_posts()) : the_post(); ?>
  6.             <div class="post-title-cat"><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
  7.             <div class="post_common">
  8.                             <div class="post_date">
  9.                                 <?php the_time('M') ?> - <?php the_time('d') ?> | <?php _e("Posted by:","language")?> <?php the_author_posts_link(); ?> | <a href="<?php comments_link(); ?>"><?php comments_number('no comments','one comment','% comments'); ?>.</a> 
  10.                             </div><br/>
  11.                         <div class="filed">
  12.                             <?php _e("Categories: ","language")?> <?php the_category(', ') ?></div><div style="clear:both">
  13.                         </div>
  14.  
  15.                 <div class="entry_blog">
  16.                     <?php if ( has_post_thumbnail() ) {
  17. the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title() ));
  18. echo contentnoimg(91);} else { echo content(91); } ?></div>
  19.                 <div style="clear:both"></div>
  20.             </div>
  21.             <div class="post_common_bottom"></div>
  22.                 <?php endwhile; ?>
  23.                 <?php if (function_exists("pagination")) {pagination();} ?>
  24.                 <?php else : ?>
  25.             <h2 class="center"><?php _e("Not found","language")?></h2>
  26.         <?php endif; ?>
  27.     </div>
  28. <?php get_sidebar()?>
  29. <?php get_footer(); ?>
RAW Paste Data