Support » Fixing WordPress » How to remove Pinterest bookmarklet code

  • robpowellbiz

    (@robpowellbiz)


    All the images on my site have the word ‘save’ added at the foot of the image. I can see from the source code that this is a Pinterest bookmarklet:

    <a href="https://pinterest.com/pin/create/bookmarklet/?media=//robpowellbizblog.com/wp-content/uploads/2019/02/first-page-google-03.png&url=https://robpowellbizblog.com/first-page-google/?tve=true&tcbf=af12785190&is_video=false&description=first-page-google-03" class="sw-pinit-button sw-pinit-middle sw-pinit-center">Save</a></div><a href="https://pinterest.com/pin/create/bookmarklet/?media=//robpowellbizblog.com/wp-content/uploads/2019/02/first-page-google-03.png&url=https://robpowellbizblog.com/first-page-google/?tve=true&tcbf=af12785190&is_video=false&description=first-page-google-03" class="sw-pinit-button sw-pinit-middle sw-pinit-center">Save</a></div><a href="https://pinterest.com/pin/create/bookmarklet/?media=//robpowellbizblog.com/wp-content/uploads/2019/02/first-page-google-03.png&url=https://robpowellbizblog.com/first-page-google/?tve=true&tcbf=af12785190&is_video=false&description=first-page-google-03" class="sw-pinit-button sw-pinit-middle sw-pinit-center">Save</a></div><a href="https://pinterest.com/pin/create/bookmarklet/?media=//robpowellbizblog.com/wp-content/uploads/2019/02/first-page-google-03.png&url=https://robpowellbizblog.com/first-page-google/?tve=true&tcbf=af12785190&is_video=false&description=first-page-google-03" class="sw-pinit-button sw-pinit-middle sw-pinit-center">Save</a></div><a href="https://pinterest.com/pin/create/bookmarklet/?media=//robpowellbizblog.com/wp-content/uploads/2019/02/first-page-google-03.png&url=https://robpowellbizblog.com/first-page-google/?tve=true&tcbf=af12785190&is_video=false&description=first-page-google-03" class="sw-pinit-button sw-pinit-middle sw-pinit-center">Save</a></div><a href="https://pinterest.com/pin/create/bookmarklet/?media=//robpowellbizblog.com/wp-content/uploads/2019/02/first-page-google-03.png&url=https://robpowellbizblog.com/?p=9805&tve=true&tcbf=af12785190&is_video=false&description=first-page-google-03" class="sw-pinit-button sw-pinit-middle sw-pinit-center">Save</a>

    How can I remove this code from every page on my website?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    How did you add it in the first place?

    WordPress can’t add that on its own. It was either a manual addition, or it’s being added by a plugin or your theme.

    It looks like you’re using a plugin called Social Warfare. The plugin has an option to have Pinterest pins on all your images. You should be able to turn it off from the plugin settings.

    Pin All the Images
    Enabling the Image Hover Pin Button will place a “Pin” button over top of every image inside of your content when a reader hovers their mouse over it. This makes every image on your page highly sharable to Pinterest!
    robpowellbiz

    (@robpowellbiz)

    Thanks, @macmanx and @aoking, I went into Social Warfare plugin and changed the Pinterest settings, but it didn’t remove the strange ‘Save’ text that appears under each image.

    Then I deactivated all my plugins and nothing changed: the words ‘Save Save Save’ are still located under every image on the site.

    It makes me think that this text is not being dynamically generated, and that it has been left behind by some previous plugin that I was using for image optimization.

    The way I’ve been getting rid of it is to replace each image with the version stored in the WP Media Library. But hat’s a time-consuming process. Can you think of any other options for removing the code?

    Thanks in advance.

    This works, but it might cause other issues down the line, like hiding things you don’t want it to hide. I would try talking to the plugin developers, if you can. They might know more.

    .entry-content span a {
        display: none;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.