Quick answer: A Pinterest widget is official embed code from Pinterest that shows a single Pin, a board (up to 50 Pins) or your profile on your website. Build it with Pinterest’s add-on builder, paste the generated code where it should appear, and load Pinterest’s pinit.js script once on the page. If your Pinterest widget is not working, the usual causes are a missing or duplicated script, a secret board, a wrong URL or a blocker stripping the script.

Pinterest widget guide showing an embedded board of pins

Pinterest is a visual search engine, and a Pinterest widget turns your boards into a gallery on your own site while sending visitors back to follow you. This guide covers every official widget type, how to add each one, and how to fix the most common errors.

What is a Pinterest widget?

A Pinterest widget, which Pinterest now calls an add-on, is a block of HTML plus a small script that displays Pinterest content on a website. According to Pinterest’s developer documentation, there are five official add-ons: the Save button, the Follow button, the Pin widget, the Board widget and the Profile widget.

Pinterest widget types compared: Pin, Board, Profile, Follow and Save
WidgetWhat it showsBest place
———
Pin widgetOne Pin, in small, medium or large sizeInside blog posts and tutorials
Board widgetA scrolling grid of up to 50 Pins from one boardGallery, portfolio or topic pages
Profile widgetThe most recent Pins you have savedSidebar, footer or About page
Follow buttonA button that links to your Pinterest profileHeader, footer or author box
Save buttonLets visitors save your images to PinterestRecipe, product and DIY pages

How do you create a Pinterest widget?

  1. Open the add-on builder from Pinterest’s website widget guide.
  2. Choose the widget type: Pin, Board, Profile or Follow.
  3. Paste the full URL of the Pin, board or profile. For boards, use the address-bar URL in the format pinterest.com/username/board-name/.
  4. Set the size options. Board and Profile widgets let you set the board width, height and Pin thumbnail width.
  5. Copy the code. It has two parts: the widget link and the pinit.js script.

How do you add a Pinterest widget to your website?

Paste the widget code where you want it to appear, and add the pinit.js script once per page, ideally just above the closing body tag. Pinterest warns that loading the script more than once can cause unpredictable results.

  • WordPress: add a Custom HTML block and paste the code. If several widgets share a page, keep only one copy of the script.
  • Wix: use Add Elements > Embed Code > Embed HTML and paste the code.
  • Shopify: add a Custom Liquid section in the theme editor.
  • Squarespace: use a Code block (scripts need a Core plan or higher).
  • Custom HTML sites: paste the widget link in the page and the script before the closing body tag.

Why is my Pinterest widget not working?

If your Pinterest widget shows a plain link or nothing at all, check these causes in order:

  1. The script is missing. The widget link only turns into a gallery when pinit.js loads. Make sure the script is on the page.
  2. The script loads twice. Several widgets, a plugin and a theme can each add the script. Keep one copy.
  3. The board is secret or the URL is wrong. Secret boards cannot be embedded. Use the board’s full public URL, not a shortened link.
  4. Your editor strips scripts. Some page builders and text blocks remove script tags. Use an HTML or code block instead.
  5. Blockers or privacy settings. Ad blockers, privacy browsers and strict cookie banners can block Pinterest scripts. Test in a private window with extensions off.
  6. Content loads after the page. If the widget sits inside a tab, popup or content loaded later, the script may run before the widget exists. Reload the widget after that content appears, or move it to static content.
  7. The container is too narrow. Board and Profile widgets drop columns to fit. In a very narrow sidebar, they may look empty. Increase the width.

Should you use the official widget or a third-party Pinterest feed tool?

Use the official widget if you want a quick, free embed of one board or profile. Use a third-party social feed tool if you want more design control, a masonry layout that matches your brand, or Pinterest mixed with Instagram, TikTok and YouTube in one feed.

Official Pinterest widgetThird-party feed widget
———
CostFreeFree plan to paid
Design controlLimited sizesLayouts, colors, fonts
Multiple sourcesPinterest onlyPinterest plus other networks
ModerationNoneHide or pin posts

Our roundup of social media widgets compares tools that support Pinterest alongside other platforms, and our TikTok feed widget guide covers video-first feeds.

Do Pinterest widgets help SEO?

Pinterest widgets do not add much indexable content, because the Pins load from Pinterest. Their value is engagement and growth: visitors browse your Pins, follow your profile and save your content, which can bring more traffic back from Pinterest over time.

Frequently asked questions

Is the Pinterest widget builder still available?

Yes. Pinterest’s help center links to its add-on builder for the Follow, Pin, Board and Profile add-ons, and the developer documentation lists the code attributes.

How many Pins can a Pinterest Board widget show?

A Board widget can show up to 50 Pins from one board in a scrolling grid.

Can I embed a secret board?

No. Only public boards can be shown with the official Board widget.

Why does my Pinterest widget only show a link?

The pinit.js script did not run. Check that it is on the page once, that your editor did not strip it, and that no blocker is stopping it.

Can I add a Pinterest widget to a WordPress sidebar?

Yes. Add a Custom HTML widget or block to the sidebar, paste the code and set a board width that fits the sidebar.

Leave a Reply

Pinterest widget guide showing an embedded board of pins

We are Widgets Code

widgets

From social media feed widgets and review widgets to social walls and embeddable website experiences, Widgets Code helps marketers and businesses find, compare, and implement the right widgets for their websites.

Create your own website, free on WordPress.com.Create your own website.
Start free