Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources

Pinterest for WordPress

How to Add a Pinterest Button to Image Galleries in WordPress

by Waseem Abbas on Jan 25, 2016

Do you want to add a Pinterest “Pin It” Button on your WordPress image galleries? In the past few years, Pinterest has become an important social sharing platform with a great visual appeal. In this article, we will show you how to add a Pinterest button to your image galleries in WordPress.

How to Add an Image Gallery in WordPress

To create an image gallery in WordPress, first thing you need to do is install and activate Envira Gallery plugin.

Upon activating the plugin, you need to go to Envira Gallery » Add New.

Add New Gallery

In the images section under Envira Gallery Settings, you need to drag and drop the images that you want to add in your image gallery.

After adding the images, you should check out the config settings which includes number of columns, theme, description, and more.

Config Settings

Once you are satisfied with the settings, you can click on the Publish button.

A dialogue box will open with the shortcode and some other information to display your image gallery.

Shortcode Information

You need to copy this shortcode.

After publishing your image gallery, go to Posts » Add New or edit an existing post where you want to display your image gallery.

Add New Post

Simply paste the shortcode in the visual editor anywhere you like in the post and click on the Publish button. It will show you the image gallery on your website.

Adding Pinterest Button to Image Galleries

Pinterest button will make it easy for your users to share your photos directly to Pinterest from your image galleries.

Since we know the importance of Pinterest, we created a dedicated Pinterest Addon.

First thing you need to make sure is that you have minimum Envira Plus license and that your license key is verified by going to Envira Gallery » Settings.

Verify License Key

Upon verification, you can go to the Addons tab to install and activate the Pinterest addon.

Pinterest Addon

After activating the Pinterest Addon, you need to edit your image gallery and go to the new “Pinterest tab” in your Envira Gallery Settings to enable the Pinterest “Pin It” button.

Enable Pinterest

You can also set the placement and color of Pinterest button. Once you are satisfied with the settings, click on the Update button.

Now you can visit your website and see the Pinterest button added on your image gallery in the lightbox view. You can change any settings by editing the image gallery.

Pinterest Button To Image Galleries in WordPress

We hope this article helped you to learn how to add Pinterest button to image galleries in WordPress. You may also want to check out our guide on how to create a masonry image gallery in WordPress.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.