Category: Wordpress Hooks
-
How to disable WordPress admin dashboard for non-admin users?
Hello, welcome to therichpost.com. In this post, I will tell you, How to disable WordPress admin dashboard for non-admin users? WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress. Now I am going…
Written by

-
How to get logged in user recently read posts in wordpress?
Hello, welcome to therichpost.com. In this post, I will tell you, How to get logged in user recently read posts in wordpress? WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress. Now I…
Written by

-
Woocommerce clear cart items when redirect on specific page
Hello, welcome to therichpost.com. In this post, I will tell you , Woocommerce clear cart items when redirect on specific page. WordPress is the best cms and Woocommerce is the best Ecommerce plugin. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the…
Written by

-
How to Exclude categories from RSS feed WordPress?
Welcome to therichpost.com. In this post, I will tell you, How to Exclude categories from RSS feed WordPress? Like I always say WordPress is the best cms. Here is the working code for Exclude categories from RSS feed WordPress and you need to add this into your theme’s functions.php file: function exclude_cat_wps($query) { if ($query->is_feed)…
Written by

-
How to Change the author slug WordPress?
Welcome to therichpost.com. In this post, I will tell you, How to Change the author slug WordPress? Like I always say WordPress is the best cms. Here is the working code for Change the author slug WordPress and you need to add this into your theme’s functions.php file: add_action(‘init’, ‘cng_author_base’); function cng_author_base() { global $wp_rewrite; $author_slug…
Written by

-
How to Require minimum comment length for post in wordpress?
Welcome to therichpost.com. In this post, I will tell you, How to Require minimum comment length for post in wordpress? Like I always say WordPress is the best cms. Here is the working and tested wordpress hook for Require minimum comment length for post in wordpress and you need to add this into your theme’s…
Written by

-
WordPress hook Remove admin Pages if user not Super Admin
Hello, welcome to therichpost.com. In this post, I will tell you, WordPress hook Remove admin Pages if user not Super Admin. WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress. Now I am…
Written by

-
How to Override WordPress Child Theme styling to Parent theme?
Hello, welcome to therichpost.com. In this post, I will tell you, How to Override WordPress Child Theme styling to Parent theme? WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress. Now I am…
Written by

-
WordPress hook to Save contact form 7 data into custom db
Hello, welcome to therichpost.com. In this post, I will tell you, WordPress hook to Save contact form 7 data into custom db. WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress. Now I…
Written by

-
How to Add Featured Image to WordPress RSS Feed?
Hello, welcome to therichpost.com. In this post, How to Add Featured Image to WordPress RSS Feed?WordPress is the best cms. I personally like it very much and my mostly posts are related to wordpress. We will How to Add Featured Image to WordPress RSS Feed with wordpress add filter hook and here is the working code…
Written by
