Category: Technical Skills

How to export Email List from cpanel using javascript and firebug 0

How to export Email List from cpanel using javascript and firebug

To export the email address with the help of java-script: Login your cpanel and select the Email Accounts under the Mail section and change the result per page to show all the emails. Now...

How to get number of days between two dates in PHP 0

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 = $first_date – $second_date; echo...

Add custom or extra fields on registration page in wordpress 0

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 see if you want...

How to make a dynamic tree structure menu 0

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 * from categories where parentid=’0′”;...

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

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 save or post revision...