Close Menu
Infoceptor
  • Business
  • Finance
  • Technology
  • Health
  • Life
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot
Flywheel Logo

Flywheel review in 2023

June 8, 2023
Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Facebook X (Twitter) Instagram
Infoceptor
  • Business
    This guide will show you how to determine the value of your business using different business valuation methods.

    How to value you business – The ultimate guide for 2023

    May 9, 2024
    Have you ever thought of starting your own laundry service? Find out how with this easy guide.

    How to start a laundry service company in 2023

    May 5, 2024
    Learn about the best online payment solutions available to you. Check out what’s available, learn their pros and cons, and choose the one that best fits your needs.

    The 15 best online payment solutions in 2023

    April 27, 2024
    Learn how to create powerful backlinks for your website and increase your site's search engine ranking.

    How to build backlinks to your website

    April 25, 2024
    In this beginner's guide, we will show you the steps involved in creating a mobile app.

    Beginner’s guide on how to develop a mobile app

    April 24, 2024
  • Finance
    Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

    Do you want to build wealth? Here are some ways to grow your money

    May 18, 2024
    Want to know your tax bracket? Check out our article for an overview of the different brackets and what you can expect to pay in 2022.

    Understanding IRS tax brackets – here’s what you’ll pay in 2023

    May 14, 2024
    This article will cover the best electric vehicle battery stocks to buy and invest in.

    The 10 best EV battery stocks to buy in 2023

    May 9, 2024
    The 10 most active penny stocks to watch this year is a list of the most active penny stocks ranked by total volume.

    The 10 most active penny stocks to watch in 2023

    May 8, 2024
    These electric car stocks are making a lot of money and you should consider adding them to your portfolio.

    The best electric car stocks to buy in 2023

    May 8, 2024
  • Technology
    Flywheel Logo

    Flywheel review in 2023

    June 8, 2023
    This article provides a list of the top iPhone models available today. Each model is reviewed based on features, specifications, performance, design and price point.

    Top iPhone models we’ve tested and you should get

    May 17, 2024
    Find out everything you need to know about the Apple Airpods Pro, including their price, features and if they're worth buying.

    Are Apple AirPods Pro a great choice in 2023?

    May 17, 2024
    To help you find the best responsive WordPress themes, we analyzed more than 100 themes and found those that are currently trending.

    The best responsive WordPress themes in 2023

    May 16, 2024
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
  • Health
  • Life
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
    Water bottles are a great way to stay hydrated. This article is dedicated to the most popular water bottles of the year!

    The best water bottles of 2023

    May 10, 2024
    Learn 30 weird and fun facts that will make you question everything.

    30 weird and fun facts that will make you question everything

    May 10, 2024
    Find out which cities in the US are the best for quality of life by checking out this article.

    20 best cities for quality of life in the USA

    May 7, 2024
    There are many ways to print your designs on t-shirts. Check out our list of the best printing services that offer top-notch quality at affordable prices.

    The 10 best T-shirt printing services of 2023

    May 6, 2024
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel
Facebook X (Twitter) Instagram
Trending
  • Flywheel review in 2023
  • Canada: Traveling restrictions and what you need to know before you go
  • Spain: Traveling restrictions and what you need to know before you go
  • Do you want to build wealth? Here are some ways to grow your money
  • Our in-depth review of the Always Pan
  • Top iPhone models we’ve tested and you should get
  • Are Apple AirPods Pro a great choice in 2023?
  • The best shower heads of 2023
Infoceptor
Home»Technology»WordPress»How to add a Pinterest pin it button to your WordPress website
WordPress

How to add a Pinterest pin it button to your WordPress website

Matthew DrummondBy Matthew DrummondDecember 24, 20236 Mins Read
Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Share
Facebook Twitter LinkedIn

Pinterest is one of the most popular social media platforms on the Internet and it’s used solely to share visual content.

This separates it from other social media platforms such as Facebook or Twitter, which support all media types making Pinterest unique.

Pinterest is also one of the biggest search engines on the web.

With its 700 million users and 500,000 brands, Pinterest should definitely be on your radar as an SEO builder and website traffic source. 

Pins on Pinterest are considerably more shareable than a post on any other social media platform. It’s been found that pins are 100x more shareable than a regular tweet since visual content is shared more than text nowadays.

A standard pin on Pinterest leads to an average of 6 page views and 2 site visits. 

To get the most out of Pinterest, you’ll need a Pinterest for Business account (which is free). Pinterest for Business allows you to manage a campaign, see analytics, run promotions, and much more.

Get noticed on Pinterest 

Here are some quick tips on how to reach your fullest potential with Pinterest to get noticed and drive traffic to your website: 

Avoid hashtags

Hashtags are essential on most social media platforms these days, but they don’t work as well on Pinterest. Since Pinterest is in essence a search engine itself, hashtags can often be complicated and inefficient on pinners.

Most marketing experts recommend staying away from hashtags, and if you have to use one – use only a hashtag with your brand name.

Incorporate rich pins

Rich pins offer additional features which, on average, bring 100% more engagement than regular pins. The most popular rich pin on Pinterest is a product pin, and you also have article, movie, place, and recipe rich pins to choose from.

For example, product rich pins allow your audience to buy your products directly from pins. You can provide additional information such as real-time pricing and inventory status in them.

Use A/B testing

While there’s tons of information on Pinterest marketing, we recommend running your own multivariate and A/B tests to see what works best.

Use advanced analytics in Pinterest for Business to find which pins bring the most traffic and better engagement and start from there.

Avoid clickbait call-to-actions

Users on Pinterest behave differently from other social media platforms, and research shows that they don’t appreciate direct sales campaigns and promotions. Instead, we recommend using carefully curated images with keywords in their descriptions.

That way, your marketing is subtle, and Pinterest users won’t get blasted with direct ads and sales promos. You can use A/B testing to see which length for descriptions work best (shorter – up to 30 words, or longer descriptions between 100-200 words).

Promote your lifestyle

Pinterest is all about lifestyle, so if you want to reach your audience – you need to establish one. We recommend working with influencers to build your brand faster on Pinterest and using Pinterest board directories to find popular boards in your niche and post there (Pingroupie, for example). 

How to add a pin it button to your WordPress website

Pinterest no longer uses Pin It as its button name, it was renamed to Save back in 2016. Some WordPress plugins still use Pin It instead of Save in their name, but they perform the same function.

The most straightforward way to add a Pinterest Save button to your website is by using a social media sharing plugin.

We recommend using Shared Counts, which is one of the best social media plugins for WordPress. It’s free, and it allows you to easily add Pinterest and other social media platform buttons to your website.

Activate the shared counts plugin

Log in to your WordPress Dashboard, head to Plugins > Add New, fill in Shared Counts in the top-right search field, and click Install Now:

Once installed, click Activate to activate the plugin:

Configure

Next, head to Settings > Shared Counts to configure the plugin:

As you can see, the plugin is straightforward to configure. Choose your social media buttons in the Share Buttons to Display option (Pinterest is added by default, and you can choose to keep or remove Facebook and Twitter or add more networks), select the buttons visual style, location, and post type.

Once ready, click Save Changes to save the changes.

Visit any post on your website to see the button bar in action:

Another benefit of using the Shared Counts plugin is that you can also use the free Pinterest Image addon, which allows you to set a custom Pinterest sharing image and a description optimized for Pinterest.

Manually adding a pin it button

Some advanced users prefer to avoid using a plugin for everything and might want to add a Pin It button to their website manually.

To do this, we need to adjust the theme’s footer.php file.

Edit the footer.php file using your favorite plain text editor (such as Notepad), and paste this code before the </body> tag:

<script type="text/javascript">
(function() {
    window.PinIt = window.PinIt || { loaded:false };
    if (window.PinIt.loaded) return;
    window.PinIt.loaded = true;
    function async_load(){
        var s = document.createElement("script");
        s.type = "text/javascript";
        s.async = true;
        s.src = "https://assets.pinterest.com/js/pinit.js";
        var x = document.getElementsByTagName("script")[0];
        x.parentNode.insertBefore(s, x);
    }
    if (window.attachEvent)
        window.attachEvent("onload", async_load);
    else
        window.addEventListener("load", async_load, false);
})();
</script>

Make sure to save the file and re-upload it to your website.

Next, edit the single.php file in your theme’s folder, and add the following code in the location where you want the button to appear in your post:

<?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
<a href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink($post->ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="vertical">Pin It</a>

This code shows the Pinterest button with your posts feature image, title, description, and post URL in the share URL feature.

If you want to show the horizontal share button instead of vertical, change the count-layout parameter to horizontal value.

Pinterest button shortcode

Shortcodes are perfect for adding dynamic content to your WordPress posts, pages, and widgets. You can create a Pinterest Button Shortcode and then manually add the button to your daily content.

Edit your theme’s functions.php file and paste the following code:

function get_pin($atts) {
$pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
return '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode(get_permalink($post->ID)) . '&media=' . $pinterestimage[0] . '&description=' . get_the_title() .'" class="pin-it-button" count-layout="vertical">Pin It</a>'; }
 
add_shortcode('pin', 'get_pin');

Once completed, you can use the [pin] shortcode in your posts and pages in a location where you want to show the button.

Final words

Pinterest is a unique social media network that can bring a lot  of traffic to your website. 

You should definitely consider investing time to develop your lifestyle profile and share content on it as well to grow your website traffic.

People also viewed:

How to verify your WordPress website on Pinterest How to add a click to call button on a WordPress website How to add a PayPal donate button to your WordPress website How to speed up WordPress by disabling WP-cron How to fix broken links on your WordPress website
button pin pinterest WordPress
Share. Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Previous ArticleHow to use an RSS feed on your WordPress website
Next Article How to verify your WordPress website on Pinterest
Matthew Drummond

Matthew is a Infoceptor Technology writer. Having worked as a systems administrator for over 15 years gives him unique insight into the inner works of technology. Ultimately his passion for writing brought him to share his technical expertise with the world.

Related Stories

How to speed up WordPress by disabling WP-cron

February 16, 2024

How to verify your WordPress website on Pinterest

December 24, 2023

How to add a PayPal donate button to your WordPress website

October 5, 2023

How to add a click to call button on a WordPress website

October 5, 2023

Comments are closed.

Connect
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • LinkedIn
  • Reddit
  • TikTok
Don't Miss
Flywheel Logo Reviews

Flywheel review in 2023

By Matthew Drummond

Flywheel is a fast-growing web host that offers high-performance WordPress hosting for agencies, designers, and developers.

Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

Do you want to build wealth? Here are some ways to grow your money

May 18, 2024
  • Auto
    • Auto Reviews
    • Electric
    • Insurance
  • Business
    • Company
    • Government
  • Entertainment
    • Movies
    • Music
  • Finance
    • Credit Cards
    • Crypto
    • Market
    • Personal Finance
  • Food
    • Coffee
    • Drinks
    • Holidays
  • Health
  • Beauty
  • Fitness
  • Food
  • Medical
  • Home
  • Backyard
  • Bathroom
  • Bedroom
  • Cleaning
  • Furniture
  • Home Office
  • Kitchen
  • Life
  • Astrology
  • Family
  • Fashion
  • Outdoors
  • Personal
  • Pets
  • Apple
  • Audio
  • Domain Names
  • Gaming
  • Google
  • Power
  • Reviews
  • Samsung
  • Destinations
  • Gear
  • Services
  • Space
  • Tourism
  • Technology
  • Tutorials
  • Web Hosting
  • WiFi
  • WordPress
  • Travel
  • Shopping
  • Sports
  • Work
  • Stocks
  • Television
  • Web Hosting
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn Reddit TikTok
© 2026 Infoceptor

Type above and press Enter to search. Press Esc to cancel.