Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

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.

Activity

Total releases
5
First release
Feb 2025
Latest release
2 months ago
Release cadence
94 days
Stability
60% stable

Release Timeline

Releases

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