Use post__not_in in your query.
$query = new WP_Query(array('post_type' => 'sculptures', 'post__not_in' => array($currentID), 'artist' => get_the_term_list( $post->taxonomies, 'artist' )));
Related Posts:
- Custom Taxonomy as checkbox or dropdown
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Custom Taxonomy as Dropdown in admin
- Retrieve single term slug
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- How to sort list of custom posts to get view like a tree of posts under categories and their children’s categories?
- List taxonomies with thumbnails
- Query multiple taxonomy in Custom Post Type
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- List all custom post type posts from a given category?
- Custom Post type taxonomy single templates
- Use the_taxonomies() to create a simple list
- Listing taxonomies from custom post type
- Custom post type with specific category structure
- Permalinks for Taxonomy and Custom Post Type
- Custom Post Type and Taxonomy combination
- Exclude specific taxonomy term when using wp_get_post_terms
- Get Post Primary Category
- How to check the terms in single custom post type template
- How can I move a custom taxonomy and its data from one post type to another?
- Hierarchical Custom Post Types – Show only parent on tax archive?
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Change or update WordPress loop based on dropdown selection
- Custom Taxonomies not appearing in Admin
- Custom Post Type Set Comments ON by default without show METABOX
- How do I do this with WordPress? Taxonomies?
- Can taxonomies of custom post types be used with category actions?
- Limit amount of posts made within a custom taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- list taxonomies from a custom post type
- Set a CPT slug as a base name for all the taxonomies
- Taxonomies relations
- Full Custom Post Type List Organised by two Taxonomies
- WordPress Doesn’t Generate Taxonomy Archive
- Adding custom taxonomy in same menu place with two custom post types
- Multiple pages for posts?
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Unable to link categories to custom post type using standard function
- Enable taxonomies by post type in an array of CPTs
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Querying two taxonomies with tax_query not woking
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- Custom post type – list posts based on meta_key and display them divided by CPT taxonomy category
- get_category_link() for custom post type does not include custom slug rewrite?
- Targeting categories in custom fields
- Invalid Taxonomy
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- I need to add a filter to prepend the term ‘National – ‘ to the post title if the post is tagged to multiple states
- Remove categories taxonomy from custom post type
- Changing CPT slug and taxonomy already registered in parent theme
- Shortcode to return single custom post based on post taxonomy
- Custom Taxonomy Terms in Menu lead to which page?
- Display 1 Post per taxonomy with polylang
- Query Custom Post Type by Taxonomy
- Display ONE taxonomy and its assigned pages
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- Can I use the ‘category’ taxonomy for both posts and a custom post type?
- Menu for taxonomies and posts belongs to taxonomy
- How to automatically create a terms based on each post of a post type
- CPT : Next or Previous term link when has not adjacent post
- Display Custom Post Type Based on Taxonomy With WP_Query()
- How do i enable categories for my custom post type?
- Custom taxonomy returns 404 even with saving permalinks
- Create custom post type categories
- How to add CSS class field in Custom Taxonomy?
- Taxonomy doesn’t follow slug permalink structure
- How to display all terms from all taxonomies in post, but separately for each taxonomy?
- Set a Default CPT taxonomy by taxonomy id
- how to create custom taxonomy drop downs for parents and child
- How to Use A Custom Post Type as Taxonomy for Another Custom Post Type
- How to manage a dynamic multi-level page hierearchy system?
- Get name CPT with slug taxonomy
- Categories manage
- Add other all taxonomies as meta boxes to custom post type
- How to get post type archive category title
- Automatically / dynamically populating tags in custom post type
- Filtering custom post using Ajax and taxonomies, keep getting 0
- Single taxonomy for different custom post types
- Changing an item in drop down after 5 latest posts per taxonomy
- Query for a custom post taxonomy
- How to create groups like that in buddypress?
- Organising custom taxonomies and custom post types
- Update Cateogory Taxonomy Count for Attachment Post Type
- Filter Term By Parent Term – Custom Post Type
- get children from current variable (taxonomy) via shortcode
- Custom Post Type parent slug as menu item
- List all posts from custom post type by taxonomy
- Displaying taxonomy icon outside archive page
- Archive templates based on taxonomies
- List a custom post type’s posts ordered by nested custom taxonomy
- Single and Archive Pages with Custom Post Type
- Sharing a custom taxonomy – No posts?
- show only one category posts in admin
- Get all active posts that are tied to a custom taxonomy for a custom post type
- How do I get parameters from the URL?
- Show only taxonomy types terms associated with a custom post type in WordPress PHP
- Taxonomy term archive claims there are no posts, but there are. How to resolve?
- How to list custom taxonomy terms without the hyperlinks?