utnalove

getattachment

Apr 5th, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. <div style="clear:both">
  2.  
  3.                         </div>
  4.  
  5.                         <div class="entry_blog" itemprop="articleBody">
  6.  
  7.                         <?php if ( has_post_thumbnail() ) {the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title(), 'itemprop'=>'image' ));} ?>
  8.                        
  9.                        <?php wp_get_attachment_image( $post_thumbnail_id, $size, false, $attr ); ?>
  10.                        
  11.                         <?php the_content(); ?> <br>
Advertisement
Add Comment
Please, Sign In to add comment