You almost had it with $_GET['zap_audience']
, but not quite, since it isn’t passed in as a GET variable.
It is however a query variable, so try these:
$post_type = get_query_var( 'post_type' );
$audience = get_query_var( 'zap_audience' );
$city = get_query_var( 'zap_cities' );
Also +1 for prefixing your taxonomy types with zap_
Related Posts:
- Query Posts that have Custom Taxonomy
- How to use a custom post type archive as front page?
- How to set a custom post type to have viewable future posts
- $wp_query->queried_object->ID throws warning: Undefined property
- The Operator “NOT IN” Does Not Work In tax_query
- Counting Posts of a Given Post Type Having a Specific Taxonomy?
- Custom Post Type / Taxonomy Slug / Post Title with post type archive
- how to group custom post type posts by custom taxonomy terms
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- Querying Posts by Taxonomy From Alternate Network Site
- Archive page for taxonomy of custom post type
- Should I change these content meta types before building complex archive page?
- custom post type paging not working past page 3
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- How to create archive page for taxonomy terms within custom post type
- Query for posts in 2 taxonomies
- Ordering Custom Post Types with WP_Query
- Paginated Taxonomy Term Archive including one post per term
- WP_Query search posts by custom post type and custom taxonomy
- Display only post types that are direct children of the current taxonomy
- Is it possible to create a shortcode that will query a post based on taxonomies?
- wp_query to find posts by year and month
- Querying Term Posts in Loop
- How can I filter by taxonomy on a custom post type’s page?
- Custom Post Type Loop within Shortcode
- is_main_query() not working for WP REST API
- Display CPT posts based on specific taxonomy
- Filtering WP_Query Dynamically on the Front-End
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Custom post type templating problem
- WP_Query most viewed posts, in multiple Post Types, last 30 days, excluding a specific taxonomy term
- Return one unique custom post type result when it shares a custom taxonomy in WP_QUERY?
- Create template for taxonomy results limited by Custom Post Type
- Custom WP Query on custom meta and sort by multiple meta keys value
- How can I made custom taxonomies relationship?
- Custom taxonomies relationship
- First custom field value (out of several) displayed twice after query
- Add Custom Post Type of specific Custom Taxonomy to regularly blog loop
- WP_Query orderby and tax_query
- How to make WP_Query not to show irrelevant posts?
- What’s the name of the custom post type yearly archive template?
- WordPress wp_query() basic question about args
- Create an archive page for custom post type with custom taxonomy
- WP_query – Filter by tax_query and meta_query using multiple select
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- how to get this tax_query working?
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- Permalink problems with custom post type and custom taxonomy
- sort CPT on Custom Taxonomy Archive page
- How to sort a WP_Query by a custom field AND ALSO filter by a different custom field
- Use the custom post type archive for taxonomies?
- How to get the post terms from a child taxonomy
- display posts of custom post type with custom taxonomy
- Custom post type and custom taxonomy 404 on page 2
- tax_query (if the terms are empty)
- How to count other posts not having specific taxonomy terms?
- Exclude latest post from WP_Query taxonomy term loop
- Get posts by category name
- WP_Query order custom post type with certain meta key value by post modified date
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Custom post type category permalinks and archive pages
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Display featured posts for a custom post type by taxonomy
- Query for specific taxonomy that executes a particular loop depending on volume of posts?
- What is the most efficient way to execute recursive complex queries?
- set object terms after some some time of published post – functions.php
- Sort custom posts by date and then by taxonomy
- display post count in archive page that have relation with another taxonomy term
- Displaying all posts by category and showing content on click
- How to search through all child taxonomies using WP_Query?
- Posts per Page on custom Taxonomy Template
- Tell wordpress to show a single page instead of an archive page
- WP_query sort by taxonomy
- Custom Taxonomy – fields
- CPT Loop, include taxonomies and disclude others?
- Custom Post Type / Taxonomy / Term – what template to use to avoid 404-page?
- Custom post type post_type_link gives “page not found” on any other custom post type
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- Custom post types not displaying per category
- Get posts of an specific term of a custom taxonomy
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Checking Taxonomy Terms for a Custom Post Type With get_the_terms Not Working
- Custom post type and custom taxonomies display
- WP_Query for CPT with filter by another WP_Query
- How to pass taxonomy terms to WP_Query along with $args?
- WordPress custom post type
- Custom Taxonomy Query by Taxonomny not working
- How to query posts by meta keys AND under specific category?
- Shortcode display CPT Query only showing 1 post?
- Storing/querying custom date data
- WP Query Post Type with same Taxonomy name
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Catergory args causing loop not to show
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- WP Query Conditionally query meta and taxonomy
- Sort ACF by custom taxonomy
- Complex Custom Loop with Includes
- Dynamically count the number of custom post types associated to a custom taxonomy