Wordpress Join relation with post and taxonomy using wordpress query How to write a query for creating a relationship with post and taxonomy. Before writing query don’t forgot to define global $wpdb variable. $wpdb is a global variable which instantiates …