Genesis and WordPress Tutorials
by Sridhar Katakam 5 Comments Favorited: 1 times
There are exactly a million and two plugins for displaying social media sharing buttons in WordPress. But what if you wanted to add sharing buttons on your site's pages so they can be shared in social sites without using a plugin or a script?
In this article I share the code to display Facebook, Google+ and Twitter sharing buttons after header in Genesis.
Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
Find my tutorials helpful and wish to donate?
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Here is the code for pinterest. You can add this to the above code.
Scot
Scott, can you paste the code in your comment again? It’s not displaying. Thanks! :o)
It’s recommended to paste the code at http://www.pastebin.com or at gist.github.com and provide the link instead of pasting it in comments.
Very nice tutorial Sridhar!
We recently reviewed a social share plugin and although It’s an easy way of adding the buttons it’s always nice sometimes not to have to use plugins to achieve things.
Thanks for this. It is a reasonable alternative. Plus, it really makes sense for my research about Facebook and Google+ recent changes this year and found this http://www.lionleaf.com/blog/facebook-or-google-where-should-you-place-your-focus/. It gives me positive results and your ideas are quite the same, too. How do you get to this setting?