
To add a Pinterest Save button to your website, paste Pinterest's pinit.js script before the closing body tag with data-pin-hover set, and a Save button appears when people hover over your images. On WordPress you can paste that code with a header and footer plugin or use a Pin It plugin. Squarespace has a built-in Pinterest Save Buttons setting.
Turn your website pages into pins, posted for youWhat the Pinterest Save button does
The Save button, which many people still call the Pin It button, lets a reader save an image from your page to one of their Pinterest boards without leaving your site. The pin they make links back to the page it came from.
That's the reason to add it. Each save puts your image and link in front of that person's followers and into Pinterest search, at no cost to you. Some readers have Pinterest's browser extension and can save anyway, but most don't, especially on phones. A button right on the image removes the step.
Pinterest offers two styles: a hover button that appears on any image when someone points at it, and a one-image button you place next to a single picture. Most websites want the hover button.
Option 1: Add the Save button with Pinterest's code
This works on any website where you can add code. Pinterest's add-on builder writes it for you, or you can use the one line below.
- Open your website's template, or the place your platform lets you add code before the closing body tag.
- Paste this line just before </body>: <script async defer src="https://assets.pinterest.com/js/pinit.js" data-pin-hover="true"></script>
- Add it only once per page. If your theme already loads pinit.js, don't add a second copy.
- Save, open a page with images, and hover over a picture. A Save button should appear in the corner.
Pinterest's developer docs list a few options you can add to that same script tag: data-pin-tall="true" makes the button bigger, data-pin-round="true" switches to the round red style, and data-pin-sticky="false" turns off the button that stays visible on phones. Images need to be at least 120 by 120 pixels for the hover button to show.
Option 2: Add a Pinterest Save button on WordPress
You have three choices, from lightest to heaviest.
- Paste Pinterest's code with a header and footer plugin, such as WPCode, in the footer section. One small script, nothing else to update.
- Install a Pin It button plugin from the WordPress plugin directory. Search "pin it button" and pick one that was updated recently and works with your WordPress version. These usually add settings like a minimum image size.
- Use a social share plugin you already have. Some include a Pinterest image hover option, often in their paid version. Check before adding another plugin that does the same job.
Whichever you pick, test a post on your phone. Some themes and lazy-loading plugins swap images in after the page loads, and the button may need a plugin setting to catch them.
Option 3: Shopify, Squarespace and other platforms
Most website builders give you either a setting or a place to paste code.
| Platform | How to add the Save button |
|---|---|
| Squarespace | Built in. Open Marketing, then Pinterest Save Buttons, and turn them on for blog posts only, or for blogs, pages and products |
| Shopify | Many themes have share buttons with Pinterest on product pages. For hover buttons on every image, go to Online Store, Themes, Edit code, open theme.liquid and paste Pinterest's script before </body> |
| WordPress | A header and footer plugin with Pinterest's code, or a Pin It button plugin |
| Wix, Blogger and others | Pinterest says to follow each platform's own steps for adding custom code, then paste the script |
Squarespace doesn't show the button on very small images, background images or some gallery designs, so check a page with your normal photos after you turn it on. If you sell on Shopify, our guide to Pinterest for Shopify covers the rest of the setup.
How to control what gets saved
By default, the button saves the image someone hovers on, links to the page it's on, and fills in a description from the page. Pinterest gives you a few attributes to change that, added to each image tag:
| Attribute | What it does | When to use it |
|---|---|---|
| data-pin-description | Sets the pin's description, up to 500 characters | Write a search-friendly description for your main image |
| data-pin-media | Saves a different image instead | Your page shows a wide photo but you have a tall pin image |
| data-pin-url | Changes the page the pin links to | An image on a list page should link to its own post |
| data-pin-nopin | Blocks saving that image entirely | Logos, icons, ads, photos you don't own |
| data-pin-no-hover | Hides the hover button but still allows saving | Small decorative images where the button is in the way |
Example: on a post called "Small bathroom storage ideas", your header photo is wide. Add data-pin-media pointing to a 1000 by 1500 pin image and data-pin-description="15 small bathroom storage ideas for renters, from over-the-toilet shelves to door racks." Now a reader who saves your header photo saves your best pin instead. Make that pin image with the free Pinterest pin maker.
Make your images worth saving
A button only helps if people want to save what's under it. A few things make a big difference:
- Put at least one tall image (2:3, like 1000 by 1500 pixels) in each post. Tall images take up more room in the Pinterest feed.
- Add a short line of text on that image that says what the post is, like "Small bathroom storage ideas".
- Write real alt text for every image. It helps readers using screen readers, and it describes the image for search engines too.
- Claim your website on Pinterest so pins saved from your site show your name. See how to claim your website on Pinterest.
- Turn on rich pins so saved pins show your page title. Our guide to Pinterest rich pins shows how.
For where to put pin images in a post and how many to use, see Pinterest images on your website.
Pinterest Save button not working? Quick fixes
- No button at all: check that the script is on the page only once, and that data-pin-hover is on the script tag, not on an image.
- Button on some images but not others: the missing ones are probably under 120 by 120 pixels, set as background images, or marked data-pin-nopin.
- Two buttons on each image: your theme or another plugin already adds one. Remove one of them.
- Button shows for you but not visitors: a caching or script-optimizing plugin may be delaying or blocking third-party scripts. Exclude pinit.js from its settings.
- If you use a cookie banner, check whether it holds back Pinterest's script until a visitor accepts.
Is a Save button enough to get Pinterest traffic?
It helps, but it depends on readers you already have. A Save button turns existing visitors into extra pins. To reach people who have never heard of your website, you still need to post your own fresh pins steadily, with titles people search for.
Our Pinterest automation guide explains how to keep pins going out every day without doing it by hand.
Quick answers
Is the Pin It button the same as the Save button?
Yes. Pinterest renamed the Pin It button to the Save button years ago. People still search for both names, and the code is the same.
How do I add a Pin It button to images in WordPress?
Paste Pinterest's pinit.js script with data-pin-hover into your footer using a header and footer plugin, or install a Pin It button plugin. Either way, a Save button appears when readers hover over your images.
Does a Pinterest Save button slow down my website?
It adds one small script. Load it with async and defer, as Pinterest's code does, and it won't hold up the rest of the page.
How do I stop people pinning certain images?
Add data-pin-nopin to that image's tag. The hover button won't appear on it, and it can't be saved with the button.
Do I need a Pinterest business account to add a Save button?
No. Anyone can add the button. A free business account is still worth having, so you can claim your website and see how pins from your site perform.


