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
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Genesis filterable portfolio isotope [closed]
- wp_query check if integer exists in custom field’s array
- Custom post type templating problem
- Wrong request query on cpt and tax
- Get custom taxonomies from multiple posts
- Pagination for Custom Taxonomy Page [duplicate]
- Search / Filter posts on Title/Content OR Tags
- WP_Query most viewed posts, in multiple Post Types, last 30 days, excluding a specific taxonomy term
- Custom-Posttype & Custom Taxonomy WP_Query
- Custom loop with multiple taxonomy queries
- 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
- Extending AZIndex plugin to use custom post types and custom taxonomies
- Custom taxonomy rewrite give pagination 404
- Use Custom Post Type archive page for the taxonomies term archive page
- Display custom post type category, while in a CPT category, then the posts beneath
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Custom WP Query on custom meta and sort by multiple meta keys value
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How can I made custom taxonomies relationship?
- What’s the WP way to load remaining custom posts?
- Custom taxonomies relationship
- Number of Custom Post Types published are not being shown in the custom page
- How to have this permalink structure: post_type/postname/custom_inner_page
- Query Custom Post Type Taxonomy term with multiple parameters
- First custom field value (out of several) displayed twice after query
- Add Custom Post Type of specific Custom Taxonomy to regularly blog loop
- posttype/taxonomy/term archive page 404 error
- WP_Query orderby and tax_query
- Advanced search form with filters for custom taxonomies
- Why is my WP_Query outputting my entries twice?
- How to display Related Posts based on number of taxonomy terms matched
- Retrieve custom post types by custom taxonomies with WP_Query
- Custom Post Archive is not working
- WP the_posts() on single-cars.php get category link
- tax_query not working in template
- Custom Taxonomy Not Showing in Front-End When Outputting a Custom Post Type with WP_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
- Using page slug in wp_query
- WP_Query() with custom post type and taxonomy — get all terms?
- Custom taxonomy wp_query woes.
- Variable not working in WP_Query
- WP_query – Filter by tax_query and meta_query using multiple select
- Creating two loops based on different logic
- Wp Query with multiple custom tag(taxonomy) by get the terms
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- WP_Query parameter conflict
- Alphabetically sort a taxonomy.php template by post title
- 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
- Different options per post type in WP_Query
- How to sort a WP_Query by a custom field AND ALSO filter by a different custom field
- How to show all taxonomies within custom post type loop
- Use the custom post type archive for taxonomies?
- How to get the post terms from a child taxonomy
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- display posts of custom post type with custom taxonomy
- Custom Post type date archive for custom taxonomy
- Custom post type and custom taxonomy 404 on page 2
- Show categories of custom post type and not all posts
- 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
- How to query Posts from a custom post type which contains a custom taxonomy?
- List all Custom Post Type posts excluding certain Taxnomy term
- Get posts by category name
- Custom Post Type Custom Archive Page Not Working
- Getting custom taxonomy posts on archive page
- Foreach loop returning more than one item when querying taxonomy
- Archive page for custom post type and custom taxonomy
- 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
- Query custom posts from custom taxonomy
- Custom post type category permalinks and archive pages
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Query Custom Post Type by Taxonomy
- Catergory args causing loop not to show
- How to Get The Taxonomy Term in Custom Post Type Loop Inside a Wp Query
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- display custom post type from register taxonomy
- Attaching multiple custom taxonomies to one CPT?
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Get X posts with the same terms as the current post (custom post type and custom taxonomy)
- WP Query Conditionally query meta and taxonomy
- Sort ACF by custom taxonomy
- Complex Custom Loop with Includes
- Query custom post type and group by taxonomy
- WP Query – Can’t get posts with specific taxonomy
- Dynamically count the number of custom post types associated to a custom taxonomy
- How to work with URLs where sometimes a post or a subcategory is in the same part of the URL structure
- WP_Query not using relation key as expected and not producing any results
- WP Query filtering by custom category not showing all relevant posts