Jump to content

Code for Hiding Images in a Blog Post

Recommended Posts

Site URL: https://cassandrabethntp.com/articles/epic-copycat-beef-and-liver-jerky-strips

I am wanting to hide an image (for Pinterest) in the bottom of my blog posts. I am adding this by a code block at the bottom. Several of my blog posts have worked previously but now I cannot get the image to pin on Pinterest. 

https://cassandrabethntp.com/articles/epic-copycat-beef-and-liver-jerky-strips - Particular post I'm having trouble with. 

I have tried both of these codes below: 

<div style="display:none">

<a href="IMAGE ADDRESS GOES HERE"><img src="IMAGE ADDRESS GOES HERE" border=0 alt="this is the alt text"/></a>

</div>

 

or this one without the second image link

<div style="display:none">

  <img src="https://images.squarespace-cdn.com/content/5b7b56a6cef37238032c25e1/1600177738543-HMD1F6GM2CZO3XM5NAO8/Copycat+DIY+Epic+Beef+and+Liver+Bites?format=300w&content-type=image%2Fpng" />

</div>


Any ideas? Thank you!

Link to comment
  • Replies 3
  • Views 436
  • Created
  • Last Reply
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.