Guest User

Untitled

a guest
Jul 17th, 2016
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php global $theme; ?>
  2.    
  3.     <div <?php post_class('post clearfix'); ?> id="post-<?php the_ID(); ?>">
  4.    
  5.         <div class="postmeta-primary">
  6.  
  7.             <span class="meta_date"><?php echo get_the_date(); ?></span>
  8.            &nbsp;  <span class="meta_categories"><?php the_category(', '); ?></span>
  9.  
  10.                 <?php if(comments_open( get_the_ID() ))  {
  11.                     ?> &nbsp; <span class="meta_comments"><?php comments_popup_link( __( 'No comments', 'themater' ), __( '1 Comment', 'themater' ), __( '% Comments', 'themater' ) ); ?></span><?php
  12.                 } ?>
  13.         </div>
  14.        
  15.         <h2 class="title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  16.        
  17.         <?php
  18.             if(has_post_thumbnail())  {
  19.                 ?>
  20.                 <div class="featured-image-container"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('full'); ?></a></div><?php  
  21.             }
  22.         ?>
  23.            
  24.         <div class="entry clearfix">
  25.            
  26.             <?php
  27.                 the_excerpt();
  28.             ?>
  29.  
  30.         </div>
  31.        
  32.         <?php if($theme->display('read_more')) { ?>
  33.         <div class="readmore">
  34.             <a href="<?php the_permalink(); ?>#more-<?php the_ID(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php $theme->option('read_more'); ?></a>
  35.         </div>
  36.         <?php } ?>
  37.        
  38.     </div><!-- Post ID <?php the_ID(); ?> -->
RAW Paste Data