You can easily add favicon icon dynamically in your WordPress theme.This may be very useful for child theme where you don’t want to edit the parent theme header.php.Paste this code in your theme function.php to load the favicon dynamically and also don’t forget to change the favicon icon url. Hope this piece of code may […]
How to add facebook likebox in wordpress post or page using shortcode
If you want to show your facebook fanpage likebox in wordpress post or page then copy and past the code below in your theme function.php [php] //ADD FACEBOOK LIKE BOX SHORTCODE function fb_likebox($atts) { extract(shortcode_atts(array( "fb_link" => ‘https://www.facebook.com/techsloution4u’ ), $atts)); return ‘<h2 class="join-fb">Like Them On Facebook</h2> <fb:like-box href="’.$fb_link.’" width="595" height="100" show_faces="false" stream="false" header="false"></fb:like-box>’; } add_shortcode(‘fb_box’, […]