Plugin Author
Damian
(@timersys)
TRy ajax mode to see it that fixes the issue and update to latest version
Thanks very much for responding. Did both but no change. Any other suggestions?
Plugin Author
Damian
(@timersys)
You can always try to paste the code directly from facebook. https://developers.facebook.com/docs/plugins/like-button
Paste it in the text tab of the editor
forgive my lack of knowledge. Which piece of code should I use and do I paste it under the existing code for your plug in?
placed the codes in the single.php file and the plugin text tab….still no luck. Any ideas?
Plugin Author
Damian
(@timersys)
Coud you paste the code here to see if you are putting it right?
Also by plugin text tab you mean in the popup message html code right?
Screenshots will help a lot, you can use a service like imgur.com
I really appreciate your help, thank you. The following is what I placed in the single.php file:
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
This is what I placed in the popup html editor:
<div class=”fb-like” data-href=”https://facebook.com/irishpubconcept” data-layout=”standard” data-action=”like” data-show-faces=”false” data-share=”true”></div>
This shows the popup editor:
This shows the single.php file:
not sure the link to the popup editor worked
Plugin Author
Damian
(@timersys)
Nah you can’t place javascript. I just checked and facebook is not giving iframe code anymore.
We need to make it work with [spu-facebook]
The other shortcodes works? [spu-twitter] for example¿
no, twitter doesn’t work either, they both just show up as text
Plugin Author
Damian
(@timersys)
Must be some other plugin creating a conflict. Try disabking one by one until it works.
Put twitter an facebook shortcoces in the popup, disable one plugin clear cache and check. Try repeating those steps untils we find what’s wrong
OK! Found the plugin that was causing the conflict (age verification fyi). So now I can see the fb button, but it seems to be linking to a completely different fb page?
I should have added that when I add the href=”https://facebook.com/irishpubconcept, the facebook button disappears
Figured it out and now have everything working….thank you for your help and direction. One quick question, is there a way of displaying the facebook button without a count beside it?
Thanks again, much appreciated. Dealing with code idiots like me must make the day seem long at times…