Calculate week in PHP
Use this script to calculate a week in PHP <?php $date = mktime(0, 0, 0, 01,27, 2011); $week = (int)date(‘W’, $date); ?>
Use this script to calculate a week in PHP <?php $date = mktime(0, 0, 0, 01,27, 2011); $week = (int)date(‘W’, $date); ?>
Add this script to the functions.php of your wordpress theme will remove the admin color scheme picker from the profile page. if(is_admin()){ remove_action(“admin_color_scheme_picker”, “admin_color_scheme_picker”); }
This function the return the true and false if date is exist or not exist. function dateWithin(StartDate,EndDate,CheckDate) { var b,e,c; s = Date.parse(StartDate); e = Date.parse(EndDate); c = Date.parse(CheckDate); if((c <= e && c...
The error of the profile pic has been fix. The error was in the new version of wordpress is not upload the profile picture. Solution to resolve this problem Open the profile pic plugin...
Without trailing slash URL shows URL count as a page and with trailing slash it’s count as directory. Search engine gives the high priority to directory in comparision of page. The solution was to...
To Turn off Debugging Set the db_debug value(in the application/config/database.php config file) to false To Turn off Error reporting Set the Envirement value(in the top of the main index.php) to production or testing Replace...