Multiple taxonomies
-
Please can someone help I’m totally confused. I need to list posts with multiple taxonomies ie.
List custom posts of ‘Therapists’, by taxonomies of ‘location’, and by ‘therapy’.
arrghh… Please help.
$args=array( 'post_type' => 'therapist', 'therapies' => 'acupressure', 'location' => 'bristol', 'post_status' => 'publish', ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post();
do something…
- The topic ‘Multiple taxonomies’ is closed to new replies.