Can’t search posts using WP_QUERY inside AJAX Function
Below you will find some things you might want to consider regarding post types. But one note up front: Every WP_Query is done for the current user. If you do not see what you expect, try it with a logged in admin user first. This way you can easily check if the problem is a … Read more