CMS Mastering Development Wordpress

WordPress pagination problem on merged queries

I have merged queries in search.php with custom post types. This is my scenario when user search to "math", the main query is searching in the post title, post excerpt, and post content. Now I have a "math" category but the post information is not including "math" text which exists in the math category so […]

Development Wordpress

Sorting custom taxonomy parent in WordPress

The array from my taxonomy query is not sorted by parent. Instead it is sorted alphabetically. So I have the following custom listing, Name Email Country State City — Country is a custom taxonomy (the parent). — State would be the child. —- City would be the child of the child. I have the following […]