Change X theme's 'Entry Share' Pinterest Share Botton Image

Hi, I am using Integrity and I have the ‘Entry share’ buttons on the page using the shortcode. I want to change the image that the Pinterest Button shares from the Featured image (this is the image that it currently shares) to another image. Is there a way to do that? Thanks.

Hello There,

Thanks for writing in! The entry share will always get the featured image as the image displayed when sharing. There is no way you can change that. It could only be possible with custom development which would mean modifying the entry share element. Regretfully this request is outside the scope of our support as we only caters getting your site set up, bug fixes and minor cosmetic changes. You might need to contact a 3rd party development to do the customizations on what you have in mind.

Thank you for your understanding.

Ok, thanks for your quick reply. I want to use the native Pinterest save button https://developers.pinterest.com/tools/widget-builder/?type=pinit&buttonType=imageHover&tall=true

Where do I need add the code so that the Pinterest “save” button shows on every post & page? Thanks!

Hey There,

Please install 3rd party plugin “Insert Headers and Footers” (https://wordpress.org/plugins/insert-headers-and-footers/) and activate it.

Once installed, please go to Settings > Insert Headers and Footers and insert the code provided by Pinterest in the header section.

Hope this helps. Please let us know how it goes.

Hi, Thanks for that. Can I do it without adding a plugin as I have has conflict issues and slow loading speed when I added plugins before.

Hello There,

Well in that case, since the child theme is set up, please add the following code in your child theme’s functions.php file

function add_pinterest_button(){ ?>
  
  <script async defer data-pin-hover="true" data-pin-tall="true" src="//assets.pinterest.com/js/pinit.js"></script>

<?php }
add_action('wp_footer', 'add_pinterest_button');

We would loved to know if this has work for you. Thank you.

1 Like

Yes, that worked, THANKS!!

You are most welcome.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.