figured it out I removed the taxonomy code within my query and added
<?php $args = array(
'showposts'=>25,
'post_type'=>'liaisons',
'speakeryear' =>$options[year]
);
$query = new WP_Query($args);
while ( $query->have_posts() ) :
$query->the_post();
if( has_term( 'test1', 'placementcategory' ) ) { ?>
<article class="card-half">Test</article>
<?php }
endwhile; ?>
Related Posts:
- Get The Post Type A Taxonomy Is Attached To
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- Custom Post type & Taxonomy URL structure
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Check if a custom taxonomy archive page is being displayed
- How to limit the number of terms (terms acts like categories)
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Two Custom Post Types, Share Two Taxonomies
- ‘No pages found’ in Dashboard after registering custom taxonomy
- Add custom taxonomy to custom post type
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- Ajax filter with custom taxonomies
- Querying Posts by Taxonomy From Alternate Network Site
- Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
- How to display recent posts added in custom post types
- Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- Permalinks when filtering multiple custom post types by single taxonomy
- Filter custom post type archive page with custom taxonomies (categories) with AJAX
- CPT Search Form with Taxonomy filter & Or
- How-to leverage WordPress for creating Extended Social Profiles
- How can I filter by taxonomy on a custom post type’s page?
- Weird problem happening with custom taxonmy when creating/updating posts
- How To Create A Custom Taxonomy 404 Page
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- $wpdb: Counting posts corresponding to 3 terms in 3 different taxonomies
- Query Multiple Taxominies Across Multiple Post type’s
- Overriding taxonomy and custom post type
- Custom Post hierarchical to custom taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- Is $object_type truly required with register_taxonomy()?
- How to checked selected category checkbox when my custom post inserted from frontend
- Specific query for custom post type
- Get general taxonomy name for a Custom Post Type
- WordPress uses url different from defined in rewrite arg of custom post type
- Suggested Post and Taxonomy structure
- List Taxonomy Terms based on another Taxonomy
- Display taxonomy terms, child terms and posts in a template
- Use custom walker to add taxonomy terms to main nav menu
- Ordering values entered in Custom Taxonomies
- Show fields based on taxonomy selection in editor
- Permalinks: custom structure for taxonomy – tags?
- Add “Select All” to custom taxonomy
- Disable custom taxonomy on admin bar
- How can I merge this function(s) that inserts terms to a custom taxonomy with this other that adds a custom taxonomy filter?
- how to show records that don’t have custom meta value
- how to get this tax_query working?
- Add term slug in URL of custom post type details page
- Custom post type and custom taxonomy 404 on page 2
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- Commas not displaying in implode
- add custom tags for custom post type in wordpress
- Different structure/content for posts from a custom post type
- “Cannot redeclare cpt_reg_tax()” because of functions.php
- custom taxonomy listing returns no posts
- Custom Post Type URL Rewrite’s
- Add term for custom taxonomy from front end
- Writing a custom Glossary plugin
- Auto Generate Post Title from 2 Custom Fields
- How do I make a request in my browser to search the CPT taxonomy?
- Custom front-end form for adding post – Category problem
- i want to send email to user when the custom taxonomy is changed
- How to show Custom Post Types under Taxonomy in a new WordPress page template?
- Issues with static pages redirecting towards home.php
- Custom post type template – add banner under heading
- Get dropdown child categories from parent category of custom post type
- Displaying all posts by category and showing content on click
- Store a value in global scope after init hook is fired
- How do you create pillar content pages?
- Custom post type and custom taxonomy key lenght & query performance
- Custom post type single page returning 404 error when sharing archive url with custom taxonomy
- Change the term based on the value of a $variable using wp_update_post in submitting a form
- Grid slider with custom post type (how to filter with taxonomies?)
- Dropwdown: Get taxonomy terms from posts that share preselected terms from 3 other taxonomies
- Order posts by meta value hiding posts instead of re-ordering
- Set different posts_per_page for custom post type/taxonomy
- Custom permalink with custom taxonomies for 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?
- Facing some Issues on Two Parts Custom Post Type Taxonomy Names
- Looping through custom taxonomy in one template
- Change the url of a custom post type to include taxonomy
- Creating adminable dynamic filtering on custom post type
- Complex strcuture as CPT or taxonomy for use in woocommerce product variations [closed]
- WP_Query for CPT with filter by another WP_Query
- Get posts in same category not working
- How to query posts by meta keys AND under specific category?
- Shortcode display CPT Query only showing 1 post?
- Permalinks when using Custom Post Type with static page for archive
- Query Posts with Custom Taxonomy from a Custom Post Type
- How to show a custom taxonomy using a custom template
- Get Registered Custom Post Type to get All Custom Taxonomies
- Parent cpt/child custom post type URL permalink relationship
- Query Only Show Text on Posts With Certain Taxonomy Tag
- Plugins for putting Custom Post Types into the Menu
- Custom term link return 404 error
- Remove slug from Custom Category Permalink + dual-category permalinks
- How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?
- Display associated taxonomy child name on single CPT page
- Display ONLY ONE $term (Out of 4 terms) from a Custom Taxonomy and CPT
- Rewrite Rule for custom post type link with or without taxonomy terms