by Shashi Dhar Kumar | Mar 13, 2015 | Programming, WordPress
The WordPress upgrade system is improved itself from last version. However, there are some steps you can take care to ensure that your upgrades doesn’t affect anything. First and foremost, upgrades and updates should be done during your off hours i.e for off...
by Shashi Dhar Kumar | Dec 15, 2014 | Programming, WordPress
Copy and paste below and see the validation in working: <style type=”text/css”> .error { font-size: 12px; padding: 0 0 5px 0; color: #FF0000; } input.error, textarea.error { background: #FFD2D2; color:#000000; } </style> <?php function...
by Shashi Dhar Kumar | Dec 8, 2014 | Programming, WordPress
Copy and Paste following into your functions.php file and see the customized form <?php function po_custom_comment_fields($fields) { //define global variable global $post; //remove defaults fields here $fields[‘url’] = ”; //begin custom fields...
by Shashi Dhar Kumar | Mar 6, 2013 | Programming, WordPress
WordPress have a very useful function that auto-saves your posts while you’re typing them in the dashboard. Though, if for some reason you’d like to disable this function, it is very easy to do. Just read on! To disable WordPress autosaving function, simply open your...
by Shashi Dhar Kumar | Jun 12, 2012 | Programming, WordPress
“Briefly unavailable for scheduled maintenance” message after doing automatic upgrade in WordPress? As part of the automatic upgrade WordPress places a file named .maintenance in the blog base folder (folder that contains the wp-admin folder). If that file...
by Shashi Dhar Kumar | Mar 11, 2012 | Open-Source, Programming, WordPress
Open “function.php” add the following code to add new custom post type : <?php add_action(‘init’, ‘featured_post_register’); function featured_post_register() { $labels = array( ‘name’ => _x(‘Featured...