Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php if (has_post_thumbnail( $post->ID ) ): ?>
- <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘single-post-thumbnail’ ); ?>
- <?php echo $image[0]; ?>
- <?php endif; ?>&description=<?php the_title() ?>"><img src="http://farm9.staticflickr.com/8398/8693188926_538082c90a_t.jpg"/></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement