Category: Wordpress Tricks
-
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

-
Redirect uppercase to lowercase urls in WordPress
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…
Written by

-
WordPress trick to check term id has parent term or child term
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…
Written by

-
How to add download pdf link in woocommerce single product page?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to add download pdf link in woocommerce single product page? I am showing download pdf link on single product page with help of woocommerce hook. Here is the woocommerce hook and please add carefully into your theme’s functions.php file: add_action(‘woocommerce_before_single_product_summary’,’download_pdf’,11); function…
Written by

-
WordPress send pdf with wp_mail function
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 = ‘user@gmail.com’; $subject = ‘WordPress wp_mail’; $message = “Please check the attached PDF.”;…
Written by

-
Woocommerce mini cart add change quantity button
Hello to all, welcome therichpost.com. In this post, I will tell you, how to add Woocommerce mini cart add change quantity buttons? Very soon, I am making video tutorial for this. Woocommerce is the best Ecommerce WordPress Plugin. Woocommerce gives us many features and Mini Cart feature is one of the best. But in Woocommerce Mini…
Written by

-
How to create new user role in WordPress and add capability to that role?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to create new user role in WordPress and add capability to that role? WordPress is the best part for me in developer websites. We will create new user role like “administrator” with wordpress custom functionality. We will create “employee” user role…
Written by

-
How to add Woocommerce Products from frontend?
Hello to all, welcome to therichpost.com. Today I am going to share my WP Plugin link and with the help of this plugin user will add Woocommerce Products from frontend. Add shortcode [ ProductForm ] into your post and pages to show add product form in frontend. If you have any query related to this…
Written by

-
Woocommerce related products custom query
Hello to all, welcome to therichpost.com. In this post, I will tell you, Woocommerce related products custom query. If you are new in WordPress then please have a look on my old posts related to WordPress. In this post, I am making custom query to show woocommerce related products like, Woocommerce shows in Single product…
Written by

-
WordPress query to get Woocommerce Products order by sales, pricing and rating
Hello to all, welcome to therichpost.com. In this post, I will tell you, WordPress query to get Woocommerce Products order by sales, pricing and rating. If you are new in WordPress and Woocommerce then you can check my old posts related to WordPress and Woocommerce. I was asked by someone to make custom query like…
Written by
