Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Pinterest Widget

No security coverage Drupal 10–11
View on drupal.org

This module allows you to integrate Pinterest with your Drupal site, enabling users to save images to their Pinterest boards. It also provides blocks and field types to embed Pinterest Pins, Boards, Profiles, and Follow buttons directly within your content, with options for customization and responsive design.

The Pinterest Widget module provides a robust, secure integration between Drupal and Pinterest. It empowers site owners to increase content discoverability by allowing users to save images directly to their boards. Beyond a simple "Save" button, this module enables you to embed rich Pinterest content—including Pins, Boards, Profiles, and Follow buttons—using Drupal’s native Block and Field systems.

Features

  • Save Button on Hover: Automatically displays the Pinterest "Save" button when users hover over images on enabled content types.
  • Field System Integration: Provides custom Field Types, Widgets, and Formatters for Pin, Follow, Board, and Profile content.
  • Configurable Blocks: Four distinct block types (Pin, Board, Profile, Follow) with support for fixed presets like Square, Sidebar, or Header.
  • Flexible Customization: Full control over button size, shape, and language selection to match your site's branding.
  • Responsive Design: Supports both fixed dimensions and fully custom layouts for embedded widgets.
  • Security Focused: Includes a dedicated validator to sanitize Pinterest URLs and prevent malformed data or injection attacks.

Installation

It is recommended to install the module via Composer to manage dependencies automatically. See Installing Drupal Modules for more details.

composer require 'drupal/pinterest_widget'

Enable the module using Drush:

drush en pinterest_widget

Configuration & Usage

After installation, navigate to Configuration » Services » Pinterest Widget (/admin/config/services/pinterest-widget) to manage global settings.

  1. Global Styles: Define default button styles (Regular, Round, Large) and localization.
  2. Scope: Select which Content Types should activate the image hover "Save" button.
  3. Using Blocks: Go to Structure » Block layout to place Pinterest widgets in any region.
  4. Using Fields: Add a Pinterest field type to any entity to allow editors to embed specific Pins or Boards per node.

Requirements

This module is designed for modern Drupal environments and requires:

  • Drupal Core: 10.x or 11.x
  • PHP: 8.1 or higher

Support & Contributions

If you encounter bugs or have feature requests, please post them to the Pinterest Widget issue queue. For community-based assistance, you can also check Drupal Answers.

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2025
Latest release
6 months ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.1.0 Stable 10–11 Feb 14, 2026
2.1.x-dev Dev 10–11 Feb 14, 2026
1.1.1 Stable 10–11 Feb 10, 2026
1.1.x-dev Dev 10–11 Feb 2, 2025
1.1.0 Stable 10–11 Feb 2, 2025