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’, […]
Add logo to wordpress dashboard login without plugin
If you want to change the WordPress dashboard login logo then this piece of code can meet your requirement. Just paste this code in the your theme functions.php [php] function custom_login_logo() { echo ‘<style type="text/css"> h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/custom-login-logo.png) !important; } </style>’; } add_action(‘login_head’, ‘custom_login_logo’); [/php]