Follow our Network


How to add Facebook Like Button in Thesis WordPress Theme

(0)

Category : wordpress

Facebook Like Button

We all love the Thesis WordPress theme, and its multi-functional layout which can be highly customised. And we also love the Facebook Like button, which is in a way Facebook’s answer to the Tweetmeme button. So, why not I show you how to incorporate the Facebook Like button in Thesis WordPress button.

To do this, all you need to do is to go to your custom_functions.php file and open it in an editor. You can have a backup just in case things don’t go according to plan. Now, once you have it opened in an editor [ or in your dashboard editor ], add the following code.

function add_fb_like_btn() {
if (is_single()) { ?>
<div style="float:right; padding-left:3px;"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe></div>
<?php
}
else  { ?>
<div style="float:right; padding-left:3px;"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe></div>
<?php
}
}
add_action('thesis_hook_after_headline','add_fb_like_btn');

You can customise the layout of the Facebook like button by changing what I have inserted in the

Please leave a comment if it worked out for you or otherwise. And also, go ahead and hit the Like button on this post :) Cheerio!

[Image Courtesy: Venture Beat ]

Edit and Share YouTube videos online with TubeChop

(0)

Category : how to, tools

TubeChop

We all love to share YouTube videos don’t we. Especially with the ever growing number of excellent videos on the world’s biggest video database, we always find something or the other which we would rate as amusing or simply a must-watch. But for some impatient ones like me, we always tend to be really excited about the stuff we share. And we want to share a specific portion of a YouTube video. We often even use YouTube videos for referencing – like a particular portion from a video would help an opinion etc etc. You get it. But how do we achieve it. Well, the usual drill was to mention, please refer the video from 2 mins and 40 seconds onwards blah blah! But not anymore. Techkeyla is here to the rescue. Enter – TubeChop. Not only can you edit YouTube videos, but also share it, embed it, and prove your awesomeness.

So how do you actually do it?

Glad you asked. Just go to TubeChop. The text bar on the site, asks for the YouTube video URL. Just paste your desired URL . For our tutorial, we are using this supercute LOLcat video. Once you paste and hit enter, it will ask you to select the start and end points of the video.

Just drag and seek the start and end position bars as required. Easy peasy!!

TubeChop tutorial - Editing LOLCAT video

Once done, hit the Chop It button.  The next page gives you the link, as well as the Embed Code. Howzzat!
The only weakness of this tool is that it does not work with videos which have disabled embedding.

And because you have been so attentive, you get to see this really cute and home-edited version of LOLCATS. Enjoy and happy edited sharing. Cheerio!