Dynamic Web Lab

WordPress Blank HTML5 theme

HTML5 comes with a lots of feature! Soon we need to use them in WordPress projects. I discontinue my project but here is another great html5 project you can check https://github.com/html5blank/html5blank

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 […]

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 […]

Read More

Add favicon icon dynamically in your wordpress theme

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 […]

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

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 […]

Read More

Top 5 Text To Audio Quran Plugin For WordPress

Text-to-With the Quran in Text andaudio plugins act as your magic wand, seamlessly weaving together the melody of Quranic recitations with the written Arabic text. These ingenious tools seamlessly integrate audio recitations of the Quran alongside the written Arabic text, creating a richer and more accessible experience for users of all backgrounds and levels of […]

Read More

Get custom post count in custom taxonomy

To get total custom post count of a custom taxonomy use the follow code [php] $args = array( ‘post_type’ => ‘post type name here’, ‘post_status’ => ‘published’, ‘taxonomy name here’ => ‘slug of the category under taxonomy’, ‘numberposts’ => -1 ); echo $num = count( get_posts( $args ) ); [/php] For instance, if you had […]

Read More

How to change “Registration complete. Please check your e-mail.” message in wp-login.php

You can use this filter to change the default “Registration complete. Please check your e-mail.” message on wordpress. [php] add_filter( ‘wp_login_errors’, ‘override_reg_complete_msg’, 10, 2 ); function override_reg_complete_msg( $errors, $redirect_to ) { if( isset( $errors->errors[‘registered’] ) ) { $needle = __(‘Registration complete. Please check your e-mail.’); foreach( $errors->errors[‘registered’] as $index => $msg ) { if( $msg […]

Read More

9 Signs You Shouldn’t Hire THAT Web Guy

My employer specializes in creating websites for middle-sized businesses. We rarely create “Mom’n’Pops” websites and generally don’t pursue contracts with major corporations. Working with mid-size business has given me the opportunity to speak with executives and “decision-makers” within each business. Our discussions eventually end up with the other person telling me about their previous web […]

Read More