Which Pinterest widget to use
Each widget does a different job. Most sites only need one or two.
| Widget | What visitors see | Good for |
|---|---|---|
| Pin | One pin with its image and description | Showing a popular pin inside a blog post |
| Board | A grid of a board's latest pins | A gallery of ideas on a topic page |
| Profile | A grid of your latest pins | A sidebar or About page |
| Follow button | A button that opens your profile to follow | Headers, footers and author boxes |
| Save button | A button to save your images to Pinterest | Recipes, products and any image-led post |
How to add a Pinterest widget to your website
-
Step 1
Pick a widget
Choose a single pin, a board, your whole profile, a Follow button or a Save button.
-
Step 2
Paste your Pinterest link
Copy the address of the pin, board or profile from your browser while it is open on Pinterest, and paste it in.
-
Step 3
Set the size and look
Pick a pin size, or set the width and height of a board or profile grid. For buttons, choose round or rectangle, small or large.
-
Step 4
Copy the code to your site
Check the live preview, press "Copy code" and paste it into your site where the widget should appear.
Frequently asked questions
How do I embed a Pinterest board on my website?
Choose Board, paste the board's address, such as https://www.pinterest.com/yourname/board-name/, and set the width and height. Copy the code and paste it into your page. The widget shows the board's latest pins in a grid, and visitors can click through to Pinterest.
What does the Pinterest Save button do?
It lets visitors save an image from your site to one of their own boards. The pin links back to your page, so every save can send people to you later. You can add one button in a set place, or show a Save button on every image when a visitor points at it.
How do I stop the Save button showing on some images?
Add data-pin-nopin="true" to the image tag, for example <img src="logo.png" data-pin-nopin="true">. The hover Save button then skips that image. This is handy for logos, icons and small decorative images.
Does it work with WordPress, Shopify, Wix or Squarespace?
Yes. The code is standard HTML, so it works anywhere you can add custom HTML: a WordPress Custom HTML block, a Shopify custom liquid section, a Wix embed element or a Squarespace code block.
Why is my Pinterest widget not showing?
Check that the pin, board or profile is public; secret boards cannot be embedded. Short pin.it links don't work either, so open them and use the full pinterest.com address. Ad blockers and some privacy settings also hide Pinterest widgets for some visitors.
Do I need the script line more than once?
No. The script line loads Pinterest's widget code, and one copy per page is enough, even with several widgets. Some themes and plugins already load it, in which case you only need the line that starts with <a.
Will a Pinterest widget slow down my page?
Very little. The script loads with async and defer, so the rest of your page does not wait for it. The pins inside a board or profile widget load from Pinterest after your page is shown.
Last updated by the Made to Spark team.