Wp tricks

Here you can find Wordpress Tricks, Woocommerce Tricks, Wordpress Query Tricks, Wordpress jQuery Tricks, which will help to solve Wordpress problem or Wordpress query fastly.

Dokan Multi-vendor – How to restrict vendor to add products according to subscription plan? 30

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

How to add custom meta title and meta description in WordPress? 14

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 […]

How to add custom field in woocommerce checkout form? 27

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' […]

How to show custom data in woocommerce order billing details in backend? 25

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 […]

WordPress User Registration Frontend 33

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 […]

WordPress User Login Frontend 32

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 […]

Redirect uppercase to lowercase urls in WordPress 93

Hello to all, welcome to therichpost.com. In this post, I will tell you how to Redirect uppercase to lowercase urls in WordPress? Post Working: In this post, I am doing, wordpress urls redirect uppercase to lowercase(wordpress case sensitive urls) with the help of jquery. Here is the working code and you can add this into […]

WordPress trick to check term id has parent term or child term 49

Hello to all, welcome to therichpost.com. In this post, I will tell you, WordPress trick to check term id has parent term or child term. Post Working: In this post, on archive page, with my code, I am checking woocommerce category has parent category or child category. Here is the working code and you need […]

Woocommerce hook add html to single product thumbnail 244

Hello to all, welcome to therichpost.com. In this post, I will tell you, Woocommerce hook add html to single product thumbnail. With the help of this code, you will add custom html to product thumbnail image on single product page. Here is the working code and please use this carefully into your theme’s functions.pgp file: […]

WordPress send pdf with wp_mail function 141

Hello to all, welcome to therichpost.com. In this post, I will tell you, WordPress send pdf with wp_mail function. Here is the working code and you can add this code into your main function or any hook: $attachments = array(WP_CONTENT_DIR .'/uploads/2019/08/your-pdf-fine-name.pdf'); $to = therichposts@gmail.com; $subject = "PDF in wp_mail"; $message = "Please check the attached […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Positive SSL