utnalove

wp-thumbnails

Apr 5th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1.                         <div class="entry_blog" itemprop="articleBody">
  2.  
  3.                         <?php if ( has_post_thumbnail() ) {the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title(), 'itemprop'=>'image' ));} ?>
  4.                        
  5.                         <p>test - now second thumbnail</p>
  6.                         <?php the_post_thumbnail('large'); ?>
  7.                         <?php the_content(); ?> <br>
Advertisement
Add Comment
Please, Sign In to add comment