has_term() need third parameter to specify which post type have this term. So, your code would be
if ( has_term('sold', 'category', 'property')) {
?>
<div class="sold_prop_note">
<h3>This Property is sold. Take a look at our current exclusives! <a href="https://wordpress.stackexchange.com/properties">View Exclusives</a></h3>
</div>
<?php
}
Beside that approach, you can use following
global $post;
if ( ( $post->post_type == 'property' )
&& has_term( 'sold', 'category' )
) { ?>
<div class="sold_prop_note">
<h3>This Property is sold. Take a look at our current exclusives! <a href="https://wordpress.stackexchange.com/properties">View Exclusives</a></h3>
</div>
<?php }
Related Posts:
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Get terms by taxonomy AND post_type
- How to get the posts of a custom taxonomy term
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- How can I rewrite URLs to pass taxonomy and post type values to the query?
- Get Custom Taxonomy ID within loop
- Remove Trash / Delete option for Custom Post Type / Taxonomy
- How to filter custom post types by custom category taxonomy
- Highlight menu item when on a custom post type?
- Site Structure Regarding Custom Post Types and Taxonomies
- Custom SQL Query on Custom Post Type. Order by Taxonomy?
- Posts per Page on custom Taxonomy Template
- Display CPT taxonomies as an archive page
- Including two taxonomies in a permalink structure
- WP Rewrite Rules – Custom post type & taxonomy
- Sorting a list of posts displayed under a list of associated terms (which should be sorted without initial articles)
- How do I list terms of a custom taxonomy at i.e. domain.com/brands/
- Permalink Structure problem with cpt and custom taxonomy
- Website bookmarks as a custom post type
- Custom Taxonomy 404
- Custom post type permalinks giving 404s
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- Custom Taxonomy and tax_query Issue?
- Get list of terms of current taxonomy archive for another taxonomy
- Custom Post Type Query multiple Taxonomy Terms
- Custom Post Type: Linking Terms to show Count
- RSS feed for dynamic set of custom taxonomies terms
- WordPress tax_input only if logged in
- Taxonomy Url with Custom post type prefix re-write rule
- How to sync tags between posts that are linked through Posts 2 Posts?
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Display custom post type category taxonomy
- How to make a custom taxonomy selectable in post publish area?
- get_the_terms return only last term
- How do I get array of types associated with a taxonomy?
- Remove standard meta boxes from custom taxonomy
- List Post Title by Last Word Then Second Last
- wp_get_post_terms on custom post type with custom taxonomies returning an empty array
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- get_category_parents for custom post type taxonomy
- Custom loop with multiple taxonomy queries
- Tax query not producing any results
- Display post as term id
- What is the best practice for displaying my plugin content in themes?
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- Sitemap generation
- Archive for a Taxonomy of a Custom Post type
- Why cant I add a custom post type to a custom taxonomy?
- Show Custom Taxonomy title in loop
- Main query not querying any posts in custom taxonomy template
- Filter posts by tax (dropdown) and meta value
- Shared terms between taxonomies
- Not able to export large no. of posts in csv
- Can I query posts by taxonomy conditionally based on post type?
- How to get dropdown instance value in WordPress custom Widget
- Include custom post type custom taxonomies in Categories widget
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Custom sidebar for custom post type
- Show category and tag link as a submenu under custom post type submenu
- Changing CPT slug and taxonomy already registered in parent theme
- Show post count number assigned to custom taxonomy
- Get Terms from Custom Taxonomy and Current Post
- Add the custom post term to the custom post title
- Display 3 recent posts from one taxonomy
- Display next 3 posts based on custom taxonomy
- Check when the post type changes, and display content
- custom post archive URL is wrong
- Display latest post of taxonomy
- Custom post type and multi taxonomies + customize url
- In child theme, add CPT to custom taxonomy registered in parent theme
- Custom taxonomies not displaying in some custom posts
- WordPress Custom Taxonomy – If not parent term
- Static Front Page not working for custom theme
- WP_Query to display number of custom post type filtered (order by) taxonomy
- Live search by custom tag
- Set a Default CPT taxonomy by taxonomy id
- Custom taxonomy terms registered not showing when added in child theme
- I cannot display custom posts in custom taxonomy
- How to change URL structure for custom post type in wordpress? Custom taxonomy + custom Post name [duplicate]
- Custom taxonomy with custom post type template not showing
- Loop to display parent categories in custom taxonomy
- Not Able to List CPT Based on Taxonomy Term
- Filter Term By Parent Term – Custom Post Type
- Display all Custom taxonomy terms and their relevant custom posts
- CPT Efficient way to display posts from different categories with custom query
- Best way to group posts based on custom post type terms
- redirect old post type url to new structure url
- Render custom taxonomy query as single template
- Custom meta-box for all custom post types
- Display and Allow users to edit their own profiles
- Remove custom taxonomy ‘post-type’ from post URL
- Advanced search form with filters for custom taxonomies and custom fields
- Building a List of Posts grouped by custom taxonomy as the section header only to be displayed if at least one post is in that tax
- Custom My account page and custom page for editing posts
- Listing all custom post types using a specific term on the said term’s template page, in groups
- Require Custom Taxonomy for Custom Type
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Custom Post Type urls not working
- pre_get_posts causes Custom Posts appear under ‘Pages’ menu
- Show custom category archive as front page and remove taxonomy slug from urls