WordPress Custom Taxonomy Pagination show 404 page not found error

advertisement

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.

Continue reading WordPress Custom Taxonomy Pagination show 404 page not found error »

Woocommerce: send email to admin when new order place (pending payment)

advertisement

woocommerceMany 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:-

Continue reading Woocommerce: send email to admin when new order place (pending payment) »

How to configure email client (Thunderbird / Outlook) with CPanel email?

advertisement

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.

To configure email client with CPanel email, follow the steps below:-

Continue reading How to configure email client (Thunderbird / Outlook) with CPanel email? »