Recently i’ve a custom WordPress development, it involve quite a number of custom taxonomy and custom post types. If you are familiar with custom taxonomy and post types, most probably you might write your own WPQuery to do custom search and filter and i’m also one of them. Everything is good until i test the custom taxonomy pagination. First listing page for the custom taxonomy is still fine, but when i try to click on page 2, then it show 404 page not found error. Spent hours of time in google and stack overflow, finally i manage to solve the issue.
Many people ask me about how to send email notification to admin when new order is placed. By default, woocommerce only send out email when order payment is completed. But… thanks to Woocommerce team, they provide a lot of hooks to ease developer’s work. So we utilize the hook to do what we want.
Below is the code sample to send email notification to admin when new order is placed:-
If you are using CPanel email and would like to setup your mail client (eg: Thunderbird / Outlook / IPhone / Android), you came to the right place. By default CPanel already have a standard set of email settings for all it’s email account. You just have to follow it’s settings and you should be able to configure your email client properly.