We need to use ‘admin_menu’ hook to remove/hide menu from specific role type. Following code show example of this. First get role type then remove menu. Open functions.php and write following code. Please keep in mind that this code doesn’t remove user’s permission. That means user still can access menu directly from browser. Advertisements
jQuery validate plugin has rich set of method to validate html form. To add custom method of validation in this plugin see following example which shows add domain validation method to html input box.
In wordpress site while you add ajax function to modify html content you can do it in fancy way like adding some jquery effect. so user can see updated contents in site.
login via ssh then use following command to remove cache and session folder contents. done !