Can you help me add a Pinterest "PIN IT" button to my wordpress.com blog posts?
-
I cannot find anything on my admin page about adding plug ins. Is it because I have a wordpress.com account vs wordpress.org? All I would like to do is add a Pinterest “PIN IT” button to my blog posts.
Blog url: http://seasonalhome.wordpress.com/The blog I need help with is: (visible only to logged in users)
-
function pinterest_post_page_pin_horiz() {
global $post;
/* HORIZONTAL PINTEREST BUTTON WITH COUNTER */
printf( ‘<div class=”pinterest-posts”>Pin It<script type=”text/javascript” src=”http://assets.pinterest.com/js/pinit.js”></script></div>’, urlencode(get_permalink()), urlencode( get_post_meta($post->ID, ‘thesis_post_image’, true) ) );
}
add_action( ‘thesis_hook_before_post_box’, ‘pinterest_post_page_pin_horiz’ ); -
jk sorry i messed up but I did find this code just don’t know where to put it lol so confused
-
No wonder. That is for a WordPress.ORG blog.
WordPress.COM blogs like http://seasonalhome.wordpress.com/ and http://tuscanywithlove.wordpress.com/ have the Pinterest button built in on their Dashboard->Settings->Sharing page.
- The topic ‘Can you help me add a Pinterest "PIN IT" button to my wordpress.com blog posts?’ is closed to new replies.