Become a HubSpot power user — join us for HubSpot Training Day 2017.

COS-Pages-Editor

How do I add a Pinterest Pin It button to my blog post?

Last updated: September 21, 2017

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

If your blog is hosted with HubSpot, refer to the following instructions to add a Pinterest button to your blog:

  • In your HubSpot Marketing BasicProfessional, or Enterprise account, navigate to Content > Blog.
  • Click More Tools and select Manage blog template.
  • In the Blog Content module, click Edit Post Template.
  • Locate the following social sharing HubL token in the blog post HTML:
{% blog_social_sharing "blog_social_sharing" overrideable=False, label='Blog Social Sharing' %}
  • Paste in the following code for the Pinterest button, immediately following the social sharing token:
<a class="pinterest" href="//www.pinterest.com/pin/create/button/?url={{ content.absolute_url }}&media={{ content.featured_image }}" data-pin-do="buttonBookmark" ><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a>
  • Click Publish Changes.

Was this article helpful?