Streaming live at 10am (PST)

Pinterest Save button help

Hi there,

I’m working on social media sharing buttons. I followed tutorials from @Waldo and @sabanna great Webflowers, I still have a small problem: My Pinterest button does not work. I copied the same code and it does not work. My goal is to add social media sharing buttons to CMS posts.

https://preview.webflow.com/preview/social-buttons-cms?utm_medium=preview_link&utm_source=designer&utm_content=social-buttons-cms&preview=9d3855ad5b816dbdeea8dd1a1cd8103d&pageId=5d1f5a28241e1b795c2ad13e&itemId=5d1f5a3062a0009a81bc0f4f&mode=preview

Can anyone help me?

Thank you :webflow_heart:

1 Like

Hey @Alexander_von_Stauff

Can you please share the tutorials here so I can take a look?

Piter :webflow_heart:

1 Like

Sure:

Both are on this topic.

So, nobody can help?

The code you copied has been modified somehow by the forums.

I created a demo of the same script running with jQuery on Codepen.

https://codepen.io/wfhow/pen/GbLwRJ

Note the button ID. Also the script needs to be placed in script tags in the before body close custom code area (page settings) on the template or page you wish to run it on.

It worked, thank you!

1 Like

Glad you were able to implement it. Thanks for the feedback!

1 Like

@webdev What do I need to open this in another tab? How can I adjust the piece of code.

Can you elaborate with more detail?

I’m using the above script, but when I click my Pinterest button it opens in the same tab. I’d like it to open in a new tab instead.

I would need to see your page to assist. Share both the Read Only and a published URL.

So you were talking about a new browser tab versus a new browser window.

The script that is doing that is handling that function is from Pinterest. Specifically https://assets.pinterest.com/js/pinmarklet.js so I am not driving.