Category: Wp Tricks
Wp Tricks
-
How to add script only for woocommerce shop page with wordpress hook?
Hello friends, welcome back to my blog. Today in this blog post, I am going to tell you, How to add script only for woocommerce shop page with wordpress hook? For WordPress lovers must check the below links: WordPress Tricks WordPress Hooks Wordpess Plugin Devs Friends here is the working code snippet for How to…
Written by
-
How to show different menus to logged and non logged in users in wordpress?
Hello friends, welcome again on my blog. Today in this blog post, I am going to show you, How to show different menus to logged and non logged in users in wordpress? For WordPress lovers must check the below links: WordPress Tricks WordPress Hooks Wordpess Plugin Devs Friends here is the working code snippet for…
Written by
-
How to add and delete user role in wordpress?
Hello friends, welcome again on my blog. Today in this blog post, I am going to tell you, How to add and delete user role in wordpress? For WordPress lovers and beginners must check the below links: WordPress Tricks WordPress Hooks Wordpess Plugin Devs Friends here is the working code snippet for How to add…
Written by
-
WordPress – Custom Rest Api for Woocommerce product category filter based on product category slug
Hello to all, welcome again on therichpost.com. In this post, I will tell you, WordPress – Custom Rest Api for Woocommerce product category filter. Post Working: In this post, I am making WordPress rest api, with I am getting woocommerce product by category slug. Here is the code snippet and you need to add this…
Written by
-
Dokan Multi-vendor – How to restrict vendor to add products according to subscription plan?
Hello to all, welcome to therichpost.com. In this post, I will tell you, Dokan Multi-vendor – How to restrict vendor to add products according to subscription plan? if you have any kind you query or requirement then you can comment below. Jassa Thanks
Written by
-
How to add custom meta title and meta description in WordPress?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to add custom meta title and meta description in WordPress? Post Working: In this post, I am sharing wordpress hook, that will add custom meta title and meta description. I am doing this for my selected wordpress archive. Here is the…
Written by
-
How to add custom field in woocommerce checkout form?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to add custom field in woocommerce checkout form? Here is the woocommerce hook and you need to add into your theme’s functions.php file: add_action(‘woocommerce_before_checkout_form’, ‘customise_checkout_field’); function customise_checkout_field($checkout) { echo ‘<div id=”customise_checkout_field”><h2>’ . __(”) . ‘</h2>’; woocommerce_form_field(‘giftoption’, array( ‘type’ => ‘textarea’, ‘class’…
Written by
-
How to show custom data in woocommerce order billing details in backend?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to show custom data in woocommerce order billing details in backend? Post Working: I am showing some custom data to my woocommerce orders section in my wordpress backend and I am doing this with woocommerce hook. Here is the working woocommerce…
Written by
-
WordPress User Registration Frontend
Hello to all, welcome to therichpost.com. In this post, I will tell, WordPress User Registration Frontend. WordPress is the best CMS because it is complete user friendly and WordPress gives us complete flexibility. Here are some working screenshots: Post Working: In this post, I am sharing code for two files, First for footer.php file, In…
Written by
-
WordPress User Login Frontend
Hello to all, welcome to therichpost.com. In this post, I will tell, WordPress User Login Frontend. WordPress is the best CMS because it is complete user friendly and WordPress gives us complete flexibility. Here are some working screenshots: Post Working: In this post, I am sharing code for two files, First for footer.php file, In…
Written by