• MONETIZE YOUR BLOG WITH INFOLINKS

    Infolinks is the perfect resource to monetize your website or blog using contextual ads.

  • SEO GUIDE FOR BEGINNERS.

    Search engines help users find pages on a particular topic. That's exactly why they become great allies in your battle to attract good visitors. So here you got a SEO Guide for Beginners.

  • 33 TIPS TO GET MORE TRAFFIC

    No matter if your blog is new or you has been writing during a year on it, all bloggers should look for ways to generate more traffic. Remember, Traffic = Money. I will give you 33 tips to make your blog a successful blog

  • MAKING MONEY WITH ADSENSE

    If you want to make money with advertising, I show you how to improve your earnings from ADSENSE.

  • 25% DISCOUNT. BEST HOSTING FOR BLOGS

    Now you can get a 25% Discount Coupon for Host Gator. The best hosting company. Read the review.

  • HOW TO BE ON THE FIRST PAGE OF GOOGLE

    Being on the first page of Google is like having 15 minutes of fame. The vast majority of visits would come from Google. These are the 5 most important aspects we have to take in mind.

  • SECRETS OF BLOGGING INCOME

    A book written by two of the best professional bloggers that will give you everything you need to know how to start a blog, improve it and make money with it.

  • EARN MONEY UPLOADING FILES

    Internet it's a great source of income and exist the posibility of making money just by uploading files to websites.

  • EARN MONEY ONLINE WITH EASY JOBS

    With Minute Workers you can expect to earn $10 per day easily doing simple jobs that anyone can do.

Friday, June 17, 2011

Put the Facebook Like button in your blog



One of the best things that you can do to get more traffic it's promote your blog in the social networks.
For that reason I'm going to teach you how to put the Facebook Like button in the footer of all the posts.

First of all, in blogger go to Layout>Edit HTML and check the "expand widget templates" box.
Search the <div class='post-footer-line post-footer-line-1'> tag in your template using your browser search function.
Immediately after this line paste the following code:

<b:if cond='data:blog.pageType == &quot;item&quot;'>

<iframe expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light"' scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:px"></iframe>

</b:if>

CUSTOMIZE THE BUTTON
If you want to show the number of likes, just change the text in red by this:

button_count

All right, now you have the "Like" button!
Enjoy!

Share It!

1 Comments:

Unknown said...

that doesnt work tried it over and over again.

www.aprokomania.blogspot.com/

is the url. check it out

Post a Comment