WP_query exclude custom category posts of a custom taxonomy

want-to-make-wordpress-clean-meme

So let’s say you created categories of a custom post type and then use a template to display those posts using the WP_query() function. THEN you want to filter those results further by excluding a particular custom category or categories you created. Look no further…

Straight from the WordPress Comments section: Click Here for the code

Leave a Reply

Your email address will not be published. Required fields are marked *