How to Add FaceBook “Like” Button to all posts in thesis theme
|We cannot avoid facebook, if you really looking to promote your business online.It is wise decision if you add facebook like button in your articles.You can add facebook like button with in seconds to your Thesis powered WordPress blog.
Ste p1 : Go to thesis options in your WordPress blog
Step 2 : Now click on Custom file editor and choose custom_functions.php file
Step 3 : Click the edit button and Copy/ Paste below code in to your custom_functions.php file and save.
[php]
function fb_like() {
if (is_single()) { ?>
<!–?php }<br /–>}
add_action(‘thesis_hook_after_post’,’fb_like’);[/php]
Get Thesis Theme from Diythemes for your new Blog/Website.
3 Comments
I will add it in my thesis theme 🙂
Thanks for sharing
thanks for sharing will add it to my blog