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

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.