• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Millennial Boss

Follow Julie on Social:

  • Facebook
  • Instagram
  • Pinterest
  • Twitter
  • About
  • Binge
  • Courses
  • Save Money
    • How to Save $26,000 in 7 Months
    • Paying Off Student Loans
    • DIY Wedding Flowers
  • Start a Business
    • Sell on Etsy
    • 101+ Easy Ways to Make Money Working From Home
    • Start A Lash Business
    • Start A Candle Business
    • Start a Lip Gloss Business
    • Start a Lifestyle Blog
  • Sell on Etsy
    • Etsy Shop Ideas for 2022
    • How I Made my first $1000 on Etsy
    • Create Printables to Sell Online
    • eRank Review
    • Sell Wall Art
    • Etsy SEO Tips
  • Printables
    • Free Heart Templates
    • Hot Chocolate Bomb Tags
    • Selling Etsy Printables
    • Gingerbread Man Templates
    • Butterfly coloring pages
    • Unicorn coloring pages
    • Best Digital Planners on Etsy
  • Contact

How to Hide Pinterest Images in Your Blog Posts

Last updated on October 5, 2020 By Millennial Boss 43 Comments

This post may contain affiliate links which means I may receive a commission if you purchase through my links. Please read my disclosure for more info.

  • Facebook
  • Twitter

My friend Emily made $375,000 on Etsy in her first 2 years selling digital products. She's a new coach in the E-Printables online course teaching you how to get started with this side hustle too. She's a mom of two kids and does this part-time. Join us?

My friend Emily made $375,000 on Etsy in her first 2 years selling digital products. She's a new coach in the E-Printables online course teaching you how to get started with this side hustle too. She's a mom of two kids and does this part-time. Join us?

I learned a new trick recently that I want to share with all of you.

UPDATE: I now use Grow by Mediavine which is a social media sharing app and allows you to hide pins in your blog posts.  I highly recommend it and then you don’t have to follow any of the steps below.

You can hide images in your blog posts!

There are two main reasons that you might want to hide Pinterest images in your posts.

  1. You don’t want to distract from your post with Pinterest images.
  2. You want to test the response of different images on Pinterest.

Here is step-by-step how to hide images in WordPress.

Hide Blog Post Images Pinterest

Step 1 – Add this code to your image tags in the WordPress Text editor.

 

First insert the image(s) you want to hide into your post.

Then, click the Text tab in the upper right hand corner of your WordPress post editor.

text-editor-pinterest

 

Find the image tag for the image you want to hide.

Add this code before the opening img tag. 

<div style = “display:none;”>

 

Add this code after the closing tag.

</div>

 

EXAMPLE:

hide-images-wordpress

 

Tip: be careful when copy and pasting code because different font styles can show up differently in everyone’s editor.  You may have to retype the quotation marks to get it to work.  See comments section for more details.

Step 2 – Confirm your images are gone.

Go back to the visual tab and scroll through your post to check if your image is gone.

If your code worked correctly, you shouldn’t be able to see your image.

And you’re done!

Your image is now hidden from your post but visible for Pinterest sharing.

 

Here is an example of how I hid Pinterest pins in WordPress.

I recently wrote a post on how I paid off nearly $90,000 of debt in 18 months.

It is one of my more popular posts so I wanted to create multiple Pinterest images for the post and test which one got a better response.

I also didn’t want to distract from my post with too many Pinterest images.

 

Step 1 –  I created 4 different Pinterest images.

I recommend Canva or PicMonkey to create the images. 

 

Step 2 –  I added the Pinterest images to my post.

 

Step 3 –  I added <div style = “display:none;”> IMAGE CODE </div> tags.

 

Step 4 –  I checked the visual tab to make sure my images were hidden.

 

Step 5 –  I updated the post and shared the pins on Pinterest.

 

Even though only one image shows in the body of my post, four Pinterest images appear when you click the Pinterest share icon.

 

pinterest-image-examples

 

Why should you hide Pinterest images in the first place?

pinterest-traffic-jump

Pinterest has brought crazy traffic to my site.

I also enjoy using Pinterest and find great content from other bloggers from Pinterest.

Don’t miss out.

Related: How to Use a Pin Scheduler to Make Your Life Easier

 

PS- Click the Pinterest share buttons on this post and see my hidden image.

Super easy to do! I'm not A/B testing all of my Pinterest images and seeing good results.

Get Tips on How I Made $25,000 Blogging

I made $25,000 from blogging last year. If you want to join my blogging email list and receive my best tips, sign up here:

Success! Now check your email to confirm your subscription.

There was an error submitting your subscription. Please try again.

More Side Hustle Income Reports: 2017

  • January Side Income Report – $793
  • February Side Income Report – $1,501
  • March Side Income Report – $1,498
  • April Side Income Report – $2,851
  • May Side Income Report – $2,853
  • June Side Income Report – $2,173
  • July Side Income Report (With Etsy and Blogging)- $1,966
  • August Side Hustle Income – $1,940
  • September Income Report – $1,753
  • October Online Income – $1,587
  • November Income Report – $1,930
  • December Income Report – $2,560

 

FREE 7-DAY ‘HOW TO START A BLOG’ COURSE

Enter your email below to start the course.

We won’t send you spam. Unsubscribe at any time.

Powered By ConvertKit

Do you hide Pinterest images in your posts? Any tips?

Started adding this code to hide my Pinterest images in WordPress. The posts look better and seeing more shares!
  • About
  • Latest Posts
Follow J
Millennial Boss
Julie paid off nearly $100k of debt and is on her way to financial independence. She is the creator of the Make Money with Printables side hustle course where she teaches people how to sell printables on Etsy and blog as a side hustle.
Follow J
Latest posts by Millennial Boss (see all)
  • How to Make a Backyard Movie Theater with a projector screen - September 19, 2020
  • HONEST Passive Income Planner Girl by Michelle Rohr course review - May 25, 2020
  • 35 Pink Aesthetic Wallpapers with Quotes and Collages - May 20, 2020
  • Facebook
  • Twitter

Filed Under: Blogging

About Millennial Boss

Julie paid off nearly $100k of debt and is on her way to financial independence. She is the creator of the Make Money with Printables side hustle course where she teaches people how to sell printables on Etsy and blog as a side hustle.

Reader Interactions

Comments

  1. Gwen @ Fiery Millennials says

    October 23, 2016 at 8:04 pm

    You might just have convinced me to start incorporating Pinterest in my blog!

    Reply
    • Julie says

      October 23, 2016 at 10:03 pm

      Yay! Let me know if you need any pin help!

      Reply
  2. Holly says

    October 24, 2016 at 12:29 pm

    Thanks for sharing! I am THE WORST at Pinterest. My husband runs our social media, but I would like to learn more one of these days =)

    Reply
    • Julie says

      October 24, 2016 at 4:26 pm

      I’m loving it! It’s fun!

      Reply
  3. Dividends Down Under says

    October 25, 2016 at 10:02 am

    Fantastic! Thank you. Bookmarking this for when I can be bothered to be more hands-on with our Pinterest. It’s hard work building up social media!

    Jasmin

    Reply
    • Julie says

      October 26, 2016 at 1:24 am

      Takes FOREVERRR! Pinterest scheduling has been worth it for me though. I do less of the stuff that has lower return, such as instagram.

      Reply
  4. Jordana says

    October 31, 2016 at 11:27 pm

    Hey Julie,
    This is such an awesome tip! Thanks for sharing. I’ve been working a lot on Pinterest recently, I think it has a lot of potential for me.
    Jordana

    Reply
    • Julie says

      November 3, 2016 at 3:18 am

      Good luck! You’re welcome!

      Reply
  5. Jessica @ lifefamilyetc.com says

    November 1, 2016 at 3:00 am

    I’ve been wondering about this! I just tested it out on one of my posts and it worked (not that I doubted you)! Thanks for giving me more work to do 😉

    Reply
    • Julie says

      November 3, 2016 at 3:18 am

      haha sorry! I spend too much time on Pinterest but less now that I schedule pins!

      Reply
  6. Shaina McGregor says

    November 8, 2016 at 2:25 am

    This is a new concept to me, but I have seen this occur when I click to save blog posts from other bloggers. I understand why you would want to hide the pictures, but how does having multiple pictures help promote traffic? (I’m still trying to figure out how to master Pinterest) -The Mindful Rise http://themindfulrise.com

    Reply
    • Julie says

      November 8, 2016 at 2:36 am

      Sometimes I don’t know what picture people will like better on Pinterest (aka repin more often) so I just create multiple from the beginning to test. I guess I could go back and delete any “duds” that didn’t do well later.

      Reply
  7. TJ says

    November 8, 2016 at 4:38 am

    It didn’t work for me. I did the code shown here, but it still seems to show up. Kind of annoying, but I’m way too lazy to go all out on Pinterest anyway.

    Reply
    • Julie says

      November 8, 2016 at 10:48 pm

      Oh no! Are you sure you have the ; and : right? Also, did you remember both quotation marks? I have made both of those mistakes before.

      Reply
      • TJ says

        November 9, 2016 at 5:25 pm

        I don’t think so I copied and pasted it exactly as above, there were some extra spaces but removing those didn’t do anything. Might be something in my theme. Not really sure, but don’t care too much. 😀

        Reply
        • Julie says

          November 10, 2016 at 11:58 pm

          Ah strange. Yeah, maybe!

          Reply
    • Julie says

      October 24, 2018 at 3:15 pm

      Hi TJ, It didn’t work for me at first either and I noticed in the code there was an extra quotation mark before the word “display” from my copy/paste. Not sure why my paste would add that, but when I took it out, the code worked perfectly!
      Hope that helps you!
      Julie
      themomsurvivalguide.com

      Reply
  8. Frugal Millennial says

    March 17, 2017 at 3:43 pm

    I used to hide images in the code all the time, but it no longer works for me. I tried the code in your article and different code that I found on another site. I reported this problem to Pinterest a few weeks ago and was told that it’s a bug in their system that they are working on getting fixed… but it’s been three weeks and it’s still not working. Frustrating! Are you having similar problems?

    Reply
  9. Dianne says

    April 4, 2017 at 3:19 am

    Cha-ching! Thank you. At first I was having a problem. It was as though a ghost was adding extra “”””. ??? I don’t know. But I figured it out, and it works like a charm. 🙂

    Reply
    • Lori Thayer says

      September 30, 2017 at 8:04 pm

      Dianne, you are right on. The quotation marks can easily get messed up when copy and pasting.

      Mine didn’t work initially and when I retyped the double quote mark it did. Often due to different fonts or such they come across as a slightly different character and aren’t interpreted correctly. (when I looked close I could visually “see” quote was angled differently) 😀

      Reply
      • Edyta says

        May 13, 2018 at 12:27 pm

        changing the ” signs worked for me as well! Thanks for the tip!

        Reply
      • Jessica says

        July 7, 2018 at 5:30 pm

        oh my gosh! I’ve been trying this for A MONTH having issue after issue and I read your comment and thought I would give it a try. Holy Crayola, you’re a genius! Thanks so much for sharing the quotation tip! I’m so excited to see this is finally working on my site!!

        Reply
  10. Jocely says

    April 9, 2017 at 1:26 am

    Thank for the post this is such a simple solution. I didn’t know pinterest would be able to see the display:none; images. thanks again

    Reply
  11. talin says

    July 31, 2017 at 7:10 pm

    Very helpful! For adding multiple images, do you attache the code to each image?

    Reply
  12. Kaitlyn says

    September 18, 2017 at 12:47 pm

    THis is awesome! Thanks for sharing. I have just been hiding my Pinterest images behind my main image but sometimes it doesn’t work right, but this is amazing. Now I just need to overhaul all the posts on my site. Lol. 🙂 oh, I love your blog so I’m subscribing. 😀

    Reply
  13. Corrie Nosov says

    December 10, 2017 at 6:33 am

    So awesome! But, for some reason when I pin the image, it shows up blank when I view it on Pinterest. Any ideas?

    Reply
    • Millennial Boss says

      December 10, 2017 at 7:19 am

      How big is the file size? Try to keep it under 200kb.

      Reply
  14. Dana says

    January 2, 2018 at 2:58 am

    Do you know how I could do this on a divi theme?

    Reply
  15. Rachel Dellaposta says

    June 6, 2018 at 3:03 pm

    Soo helpful!! I didn’t even realize this was a thing, but definitely going to try it out!

    Reply
  16. Joyce says

    June 28, 2018 at 8:36 pm

    It worked great. After copied and pasted your code I noticed the ” was changed on mine site so I retyped it. Also I’m running EasyRecipe plugin on my food blog, the code doesn’t work with that plugin. However, when I switch to WP Recipe Maker plugin, it worked! Thank you very much for the tip!

    Reply
  17. Paula says

    August 31, 2018 at 10:28 am

    I’m struggling with this. I got it to hide the images so well that they don’t show as pin options. Know any solutions?

    Reply
  18. Nazish says

    September 3, 2018 at 12:24 am

    Firstly, thank you for this helpful blog post.
    Secondly, the comments about the code for hiding the pins in a blog post have been invaluable! The fix worked for me (I’m running the Nirvana theme in WordPress): I manually typed in the code instead of copying and pasting, and typed in the ” marks rather than copy them – and bingo, it worked.
    To the question about whether you need to use this code after every image, no you don’t – just make sure the closing tag () is after the last image, and everything in between should be hidden.

    Reply
  19. Jessica says

    October 11, 2018 at 2:38 am

    One question, is there a way to prevent some of your photos on your blog to not show up for pinning? I write crochet patterns and I sometimes see photos I use for guidance out there. Can you have specific photos just for Pinterest? Thanks for this great post!

    Reply
  20. clara says

    December 12, 2018 at 10:28 pm

    Does this change for WordPress’ new Gutenberg editor? I’ve been trying to add it in like you say here in the instructions in the “code editor” view in Gutenberg but it won’t work.

    Reply
    • Rob+Ann @TravelLatte(.net) says

      January 2, 2019 at 1:26 am

      It appears to not be working outside of Gutenberg as well. I am not using the editor (but still using WordPress), and whether I hide the image with a “display: none;” inside the image tag, or as part of a tag, the image is invisible to Pinterest as well as my blog. Anyone else have this issue, or have a work-around?

      Reply
  21. Rashel Ahmed says

    December 26, 2018 at 6:30 am

    Very good article for the Pinterest image blog post. Thank you so much for share your useful article.

    Reply
  22. Sarah says

    February 6, 2019 at 10:46 pm

    Ugh!! You’re a genius and life saver! I did have to type it out because the ” were different and it messed up the code, but I just did this and it worked. – Thanks so much!

    Reply
  23. Hannah says

    February 14, 2019 at 4:41 am

    Somehow this has worked for me on some posts but not others even though I did it the same way: on some posts, it works perfectly, while on others, the images are hidden from pinterest sharing too. However, it works perfectly when I preview the post, just not when actually viewing it as an outsider. Any ideas? Thank you so much!

    Reply
  24. Melissa says

    February 25, 2019 at 7:25 pm

    Oh my gosh, I don’t know how to thank you! I have been trying to figure out how to do this for YEARS! I NEVER would have figured out that the wonky quotation marks from copying and pasting were the issue! Just fixed those and now the code is working perfectly! Thank you, thank you!

    Reply
  25. Erica says

    March 19, 2019 at 2:39 pm

    Thank you so much, this was super helpful!

    Reply
  26. Erica says

    March 19, 2019 at 2:42 pm

    Mine was adding an extra quotation as well, but we were able to fix it:

    YOUR IMAGE HERE

    Reply
  27. Jennifer Burkhart says

    January 8, 2020 at 10:21 pm

    Hello
    I have tried this over and over again to hide pin images in my WordPress blog posts and it isn’t working. Any suggestions would be super helpful!
    Thank you
    Jennifer

    Reply
    • Millennial Boss says

      January 14, 2020 at 1:19 am

      I now use Social Pug to hide Pinterest images in Blog posts. Will update this post.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

About Millennial Boss

Julie paid off nearly $100k of debt and is on her way to financial independence. She is the creator of the Make Money with Printables side hustle course where she teaches people how to sell printables on Etsy and blog as a side hustle. Learn more..

Footer

Please note that Millennial Boss has financial relationships with certain merchants mentioned. Affiliate links may be used and commission earned in this post. While all attempts are made to present correct information, it may not be appropriate for your specific circumstances and information may become outdated. Copyright © 2021. All Rights Reserved.

About Millennial Boss

Millennial Boss is a lifestyle and personal finance blog created by Julie, who paid off six figures of student loan debt and is now on the path to financial independence and early retirement through side hustles. She lives in Seattle and teaches others how to start blogging and sell printables on Etsy.
Learn more here.

About Millennial Boss
How to Pay Off Debt
Save More Money Faster
Start a Blog that Makes Money
Sell Printables on Etsy
Disclaimer & Privacy Policy

Looking for something?

  • Selling Printables on Etsy
  • Disclaimer and Privacy Policy
  • Media
  • Contact

Copyright © 2025 · Wellness Pro On Genesis Framework · WordPress · Log in