Add a Pinterest 'Pin It' button to your blog post
Last updated: June 26, 2020
Add the following code to your HubSpot blog post template to add a Pinterest button to each post.
- In your HubSpot account, navigate to Marketing > Website > Blog.
- In the left sidebar menu click the More Tools dropdown menu, then 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:
- 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=http://knowledgeqa.hs-sites.com/cos-pages-editor/how-do-i-add-a-pinterest-pin-it-button-to-my-blog-post&media=" data-pin-do="buttonBookmark" ><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a>
- Click Publish changes.
Blog
Thank you for your feedback, it means a lot to us.
This form is used for documentation feedback only. Learn how to get help with HubSpot.