Category Archives: Wordpress

How To Get YouTube Thumbnail Images

YouTube thumbnails can be fetched using YouTube’s Video API. YouTube API responses may contain multiple thumbnail images for a video, each of which is identified by a <media:thumbnail> tag. In order to view or download the thumbnail from a YouTube video. Change the following video id in the URL to fetch the image http://img.youtube.com/vi/VIDEO_ID/#.jpg The video… Read More »

How to Get the WordPress Short URL

WordPress lanunched shot Url for WordPress sites with the domain wp.me.This shot url stay on the header of the theme when you observe the source of the page.This function will help you to display it on your theme. In WordPress site source page < link rel=’shortlink’ href='<a href="http://wp.me/p1WvAX-1f0">http://wp.me/p1WvAX-1f0′ /> This is not see to the… Read More »

Remove the unwanted fields & add new fields to WordPress contact

Remove the unwanted fields from WordPress contact info In WordPress there are fields such as aim, yim, jabber which are not used by most of the sites.It can be removed by adding this code to the theme functions.php file. function extra_contact_info($contactmethods) { unset($contactmethods[‘aim’]); unset($contactmethods[‘yim’]); unset($contactmethods[‘jabber’]); return $contactmethods; } add_filter(‘user_contactmethods’, ‘extra_contact_info’); Add new fields to WordPress contact… Read More »