Facebook and Twitter share buttons not working [closed]

There is a jQuery event hooked to that link. Here is the function that is called whenever you click one of the sharing links: function (){ window.open( jQuery(this).attr( ‘href’ ), ‘wpcomtwitter’, ‘menubar=1,resizable=1,width=600,height=350’ ); return false; } This is added by the JetPack plugin and will attempt to open a dialog window with the url http://karba.la/?share=twitter&nb=1 … Read more

Facebook ‘Share’ and ‘Like’ on individual posts

Install ‘Simple Facebook Connect’ Plugin. Go to ‘Simple Facebook Connect’ under ‘Settings’ in WordPress Admin. Configure the plugin. There is a help tab to help you. Enable ‘Like Button’ and ‘Share Button’ modules. Change the ‘Like Button Settings’ according to your requirements. You are done. More Info This plugin is from Otto. Visit this plugin … Read more

Load facebook php sdk problem

You shouldn’t add functionality to themes. Or even worse: To templates. Wrap it up in a plugin and load the plugins bootstrap on plugins_loaded, or – in case of a mu-plugin – on muplugins_loaded. In every case, you shouldn’t throw around with globals. Just add your output to a custom filter or hook and only … Read more

Simple Facebook Connect: Access tokens not found

Turns out the issue is browser related (FF 16.02). Using Chrome authorization works fine. But there are still more issues when the Facebook user is not logged in (tokens are not correctly stored locally). So I have settled for the “Add Link to Facebook” plugin.

Single article separated into multiple pages makes Facebook Like button detect as completely separated articles

You can explicitly set the ‘like’ URL. If you play with the form FaceBook provides you can see how that works. <div class=”fb-like” data-href=”http://example.com” data-send=”true” data-width=”450″ data-show-faces=”true”></div> If you don’t set the URL the default is the current URL, so you will have multiple pages. So, and this is the only WordPress part of this … Read more

How to add social buttons like facebook and twitter in the footer of a theme?

Camilia, this is super easy to do with existing plugins, which you can find here: http://wordpress.org/extend/plugins/search.php?q=social+media But if you’re keen to the coding yourself, and you have widgets in place, you could simply use the text widget that also allows for html and manually add your social media links something like: <a href=”http://twitter.com/YourUsername”>Twitter</a><a href=”http://facebook.com/YourPage”>Facebook</a> If … Read more

Strip hashtag off permalink with php

echo get_permalink($post);, or the_permalink() in the Loop context, will give you the canonical URL for the post, without the trailing hashtag part– technically the ‘fragment’. You could also use PHP’s parse_url to break the URL apart if *_permalink functions don’t work for you for some reason, or even PHP’s strpos and substr for a really … Read more

Facebook comments widget – App ID

You’ll be able to moderate comments. Here’s the relevant quote from the doc‘s Moderation Tools section: Doing this enables a moderator interface on Facebook where comments from all plugins administered by your app id can be easily moderated together. I personally never used the moderation tool, but it is available if you need it, which … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)