List/Grid Technical Skills Subscribe RSS feed of category Technical Skills

How to get number of days between two dates in PHP

How to get number of days between two dates in PHP

By the given blow script we can find the number of days between two dates <?php $first_date = strtotime(“2010-08-01″); // or current date as well $second_date = strtotime(“1988-08-01″); $datediff =… Read more »


Add custom or extra fields on registration page in wordpress

Add custom or extra fields on registration page in wordpress

Open your theme’s function.php file and drag this PHP code in. <?php // This function shows the form fiend on registration page add_action(‘register_form’,’show_first_name_field’);   // This is a check to… Read more »


How to make a dynamic tree structure menu

How to make a dynamic tree structure menu

To make dynamic tree structure menu, We have to make to functions one is for “Parent Menu” and second for “Child Menu or Sub Child Menu”. $query = “select *… Read more »


How to disable auto save, post revision and reduce the database size in wordpress

How to disable auto save, post revision and reduce the database size in wordpress

The auto save option in wordpress is a best feature but not for every. For those who have limited web space, limited database size and they not want to auto… Read more »


Get image URL from post in wordpress

Get image URL from post in wordpress

To get the image URL of post thumbnail in wordpress is little difficult because the wordpress doesn’t provide any function to get the image URL. It only returns the full… Read more »


© 2012 Sumit Bansal. All rights reserved. XHTML / CSS Valid.