WORDPRESS

10 Useful WordPress functions to reduce your development time

This 10 Useful WordPress functions will certainly reduce your WordPress development time.I found this functions when i do some research for my projects. So i think i better share this with you. 1.Custom Excerpt Length By default, excerpt length is set to 55 words. To change excerpt length using excerpt_length filter, add the following code …

10 Useful WordPress functions to reduce your development time Read More »

Optimizing WordPress for SEO

WordPress is a awesome SEO friendly CMS.The following are some basic tips on how to fine-tune your WordPress site to get improved search engine results ranking. 1.Change your Permalink Structure for URLs The permalinks feature allows you to create custom URL structures for your WordPress post or page. By default, WordPress sets your post URLs …

Optimizing WordPress for SEO Read More »

7 Useful WordPress Security Tips

WordPress is getting popular on every day.This is a good news for WordPress user and WordPress developers but also this is attracting more hacker to hack WordPress! So how do you secure your WordPress website? Here is some tips to make it more secure! 1.Remove Your WordPress Version Number From WordPress Theme WordPress automatically displays …

7 Useful WordPress Security Tips Read More »

Some very useful wordpress hacks

Today i organize some very useful WordPress hacks.Hope this may help you in your future projects Display number of Facebook fans in full text If you want to display the number of your Facebook Fans then use this code. Replace “YOUR PAGE-ID” with your own Page-ID. Code: [php]$page_id = "YOUR PAGE-ID"; $xml = @simplexml_load_file("http://api.facebook.com/restserver.php?method=facebook.fql.query&query=SELECT%20fan_count%20FROM%20page%20WHERE%20page_id=".$page_id."") or …

Some very useful wordpress hacks Read More »

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’, …

How to add facebook likebox in wordpress post or page using shortcode Read More »

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]