Tag Archives: facebook

facebook share

Shortcode: Correct way of displaying a Facebook Share Button with or without counter

Earlier, I posted about “Correct way of displaying a Twitter Share Button with or without counter”. Now, almost the same thing but for Facebook. Similar to Twitter, it will not load the twitter javascript on every page of the site but only on the page where shortcode is used. It will load it at footer instead of middle or start of the contents which as a very awful approach as it effects the page load time.

fb share-titled2

Snippet: Set up OpenGraph meta tags to fix the Facebook Share

Today, Social sharing has become extremely important. Correctly sharing is as important as functioning of the website. If someone share your website on a social site like Facebook and it do not show up properly, that means, you have not developed website properly.

facebook-fans

Shortcode: Facebook Like Button

Add following code where you want to display it. Usage Add following snippet to “functions.php” Snippet Courtesy: Nicholas P. Iler

facebook-fans

Snippet: Get your number of Facebook fans

Add following code where you want to display your fans Usage Add following snippet to “functions.php” Snippet Result Display number of fans your facebook page has on your website with this simplest function.

facebook_button

Snippet: Add facebook share link

Whatever type of website you develop, you would definitely need a Facebook Share button.