With the release of Backburner 1.1.2 I changed the Facebook share functionality to the new Like button that lets visitors share any Tumblr post to their friends on Facebook with one click. The $19 premium theme, Backburner comes with support for Facebook Like and Twitter retweet (through TweetMeme) as well as additional updates down the road.

If you’re looking to add the like button into your own custom theme the process is pretty straight forward.
Customize Your Button
Go to Facebook’s Developers site and customize the appearance and functionality options for the Like button.
- URL to Like - This is the URL of you post’s permalink. Tumblr recently added variable that returns the URL encode version of the permalink - {URLEncodedPermalink}
- Layout Style - Backburner uses the button count style because of the limited space in the share this overlay, but if your theme has the room you can use the standard style that shows additional information.
- Show Faces - This option shows several of the profile pictures of the other people who liked this post.
- Width - If you’re using the button count style you can get away with a width in the 75-100px range.
- Verb to display: Give you the option to label the Like button as “like” or “recommend”.
- Font - Allows you to select the font you want to use for the Like button.
- Color Scheme - Depending where the button will be placed you can choose a light or dark scheme that better suits your design.
For reference here’s Backburner’s Like button HTML code:
<iframe src="http://www.facebook.com/plugins/like.php?href=
{URLEncodedPermalink}&layout=button_count&
show_faces=false&width=98&action=like&
colorscheme=light" scrolling="no" frameborder="0"
allowTransparency="true" style="border:none;
overflow:hidden; width:98px; height:px"></iframe>
Insert IFrame Into Your Theme
After you have your customized HTML code for the Like button you will just need to place the code within Tumblr’s Post loop. For example…
{block:Post}
...
<!-- Insert HTML code from Facebook -->
{/block:Posts}
When you are adding in the HTML code make sure you place it outside of the Text, Photo, Audio, etc post blocks so that you only have to add it once for it to show up on the index page as well as the permalink pages.
-
traducator-autorizat liked this
-
bluenose101 reblogged this from backburnertheme
-
homedecorlighting reblogged this from backburnertheme
-
1eoutsourcing reblogged this from backburnertheme
-
get--facebook-fans reblogged this from backburnertheme
-
hair-montreal reblogged this from backburnertheme
-
epc-energieprestatiecertificaat reblogged this from backburnertheme
-
damp-proofing-brighton liked this
-
pozycjonowanie-czestochowa liked this
-
nicolefinchamscheff liked this
-
auto-insurance-quotes-today reblogged this from backburnertheme
-
estantres reblogged this from backburnertheme
-
stage-pilotage-auto reblogged this from backburnertheme
-
the-diet-solution-review-x liked this
-
the-diet-solution-review-x reblogged this from backburnertheme
-
eid-gifts liked this
-
comparateur-pneu reblogged this from backburnertheme
-
alimadve reblogged this from backburnertheme
-
buy-used-cars reblogged this from backburnertheme
-
truman-shcolarship reblogged this from backburnertheme
-
trampoline4j reblogged this from backburnertheme
-
xn----slbefaduec3bfcs8cycfbfdiq reblogged this from backburnertheme
-
mobile1-application-development liked this
-
mobile1-application-development reblogged this from backburnertheme
-
houten-poppenwagen reblogged this from backburnertheme
-
houten-poppenwagen liked this
-
when-you-fall liked this
-
1200-calorie-diet-tips liked this
-
bellimbusto2 reblogged this from backburnertheme
-
brubou liked this
-
solar-energy-new-jerseys reblogged this from backburnertheme
-
mymau5 liked this
-
business-news-time liked this
-
business-news-time reblogged this from backburnertheme
-
dubai-web-design reblogged this from backburnertheme
-
ccccczcc liked this
-
orbea liked this
-
backburnertheme posted this


