[Plugin: WP Socializer] Pinterest – Button does not popup, it takes current tab/window (My Fix)
-
Howdy! I noticed that when you click the pinterest button it does not open a popup, but takes the whole current tab/window to display the pin it functionality.
However, I made this work! =) YAY!!
Case: Template Tags
I wrapped the button template tag code into a div which has a class .social-button-pinit, now in a jQuery/javascript init file (ya know, the one that you place all your custom jquery code) i inserted this…$j(".social-button-pinit").click(function(){ var pinitlink = $(this).find("a").attr("href"); window.open(pinitlink, 'Pinterest', 'width=600,height=280,scrollbars=no,toolbar=no,location=no,menubar=no'); return false; });
And now you can see the button working like a charm!!
The site I made this fix: Vidal
Follow me on Twitter: @alegadpen
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP Socializer] Pinterest – Button does not popup, it takes current tab/window (My Fix)’ is closed to new replies.