Digital Photography Tips, Tutorials and Resources
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.
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.
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.
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.
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.
Upon verification, you can go to the Addons tab to install and activate the 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.
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.
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.