Dynamic Web Lab

Remove Width and Height Attributes from wordpress content area

When you upload images using WordPress image uploader and insert it into your post/page, it will include the image width and height attribute in the tag.if you want to remove this automatic image width and height attribute from image, you can add this code to you functions.php [php] add_filter( ‘post_thumbnail_html’, ‘remove_width_attribute’, 10 ); add_filter( ‘image_send_to_editor’, […]

Read More

Easy Press : Free WordPress Theme

Easy Press is a free WordPress theme.You can easily use this theme for your WordPress blog or for your news website.I make this theme using my BLANK RESPONSIVE HTML5 WORDPRESS THEME. It came with following features: [list style=”check”] HTML5 and CSS3 Theme Option Panel Custom Widgets Dynamic Footer widget area Have full control on Home […]

Read More

Add visitor browser name in the body class function

You can easily detect browser using this function and add visitor browser name in the body class function . Put this on your theme functions.php [php] add_filter(‘body_class’,’myfunction_browser_body_class’); function myfunction_browser_body_class($classes) { global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone; if($is_lynx) $classes[] = ‘lynx’; elseif($is_gecko) $classes[] = ‘gecko’; elseif($is_opera) $classes[] = ‘opera’; elseif($is_NS4) $classes[] = ‘ns4’; […]

Read More

Blank Responsive HTML5 WordPress theme

As the modern browsers are starting to support some parts of HTML5, CSS3 and also the user of iphone and other mobile device are growing rapidly. So HTML5 responsive web design is getting very popular. Today i am very much excited to present Blank Responsive HTML5 WordPress theme which will reduce your theme development time. […]

Read More

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

Read More

Why you should choose WordPress CMS ?

In internet WordPress, joomla and Drupal is dominating the web development world.When any one build a website this 3 are first choose. So lets see why you should pickup WordPress ? First of all its very much user friendly. Any one can learn how to use it in 30 min or less. You can make […]

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

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