How to create submenu and option page of custom post type?

To add the submenu item under any custom post type page, First you will need to create a submenu item under custom post type menu section and then need to create a option page. To add a new Sub-menu to WordPress Administration, use the add_submenu_page() function. add_submenu_page() function takes a capability which will be used …

How change "no available shipping methods" message in woocommerce : WordPress

Hello Friends, I hope you are you doing well. I am here again going to share some useful knowledge regarding to woocommerce shipping information. If you want to change “No Shipping Method Available” then you will need no need to edit in plugin core files. Just add given below code into your theme function files …

How perform action during add/edit/delete category using hooks : wordpress

Hello Friends!! If you want perform any action during add/edit/delete category/taxonomy without changing in wordpress core files then you can do it using wordpress hooks . You will only need to add given blow function in your theme function file, no need to edit /** Call function during create new category/taxonomy */ add_action(‘create_term’,’wp_custom_save_taxonomy’); function wp_custom_save_taxonomy($term_id) …

How add IP restriction for access to wp-admin login page through htaccess file : WordPress

Hello Friends. Hope you are doing well!! As you know there days hacker can easily hack wordpress site admin because generally we used common username/password of access to admin (i.e admin/admin123, admin/123456). I am here going to describe you how you can restrict wp-admin login page only for few IP address using htaccess file. I …

Lunched new version 1.3 of protect-wp-admin plugin : WordPress

Hello Friends, Hope you all doing well :) Last time i was released version 1.2 http://raghunathgurjar.wordpress.com/2014/12/01/lunched-new-version-1-2-of-protect-wp-admin-plugin-wordpress/ and now launching new version 1.3 of “Protect WP-Admin” wordpress plugin with some new features. In current version 1.3 admin can able to change the wp-login page logo by configure the plugin settings and also admin can define the …

Using hooks how can add new columns on list page for custom post type in Admin

Hello Friends! If you want to add a new columns with custom meta fields on list page for any post type then you can do it using the wordpress hooks. Using hooks you have no need to edit in wordpress core file, you can do all by edit in theme function.php file. add_filter( ‘manage_edit-news_columns’, ‘news_edit_columns_title’ …