I suppose your custom taxonomy slug is ‘cat_sd’, right?
If so, the right query would be:
$loop = new WP_Query( array( 'post_type' => 'sobeedesce', 'cat_sd' => 12 ) );
Related Posts:
- Delete all posts of a custom post type—efficiently
- Create category only for custom post type
- Reducing the use of global $post
- Custom Post Types not showing on Custom Taxonomy archive page
- custom post type or taxonomy
- Search everything (posts, pages, tags, cpt, meta)
- Admin to user notices – best practices?
- Reslug a Custom Post Type
- Removing CPT slug from URL results in 404 error for archive page
- Internationalize / translate custom post types & taxonomies
- Anyway to assign custom post types to a specific category?
- front end radio custom taxonomy with custom post type
- Search Post Title Only [duplicate]
- Custom post type’s slug gets wrong when adding a custom meta box
- Can’t sort order of wp_query with 2 meta keys
- How to get source of custom meta image?
- Custom Post Type archive giving 404
- Get count of custom post type created by current user
- Query Custom Post by Category
- Role Capabilities: Add New Ones?
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- How can I show recent posts from same taxonomy as the post currently being viewed?
- How could I create a ‘private comments’ section on a custom post type?
- Show Post Count of a Category
- Meta Box Only in CPT Edit Page, Not in Add New
- Function to get permalink of custom post type archives?
- How to determine if custom post type showing on archive templates
- Filter the content from a post globally immediately after is fetched from the database
- Add multiple custom post type issue
- Filter categories of posts with checkboxes
- Post Object Filter by Custom Field, not title (ACF)
- Remove rows in the manage post/page view
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Only show posts from a certain category?
- Custom Post Type as Home Page Problem
- Making a custom help center page
- Pagination for custom php code
- Customize Query for post
- Correct classes for WordPress menu items
- Custom post type getting wrong categories and tags
- How to Create an Image Upload Box for Custom Posts?
- Front end editor to pending post(for contributors)
- How to filter wp_list_categories output with some custom post type meta query?
- Adding user capabilities for a custom taxonomy of a custom post type for a custom user
- Query Post Object in WP Admin
- delete_published_posts does not work
- Removing custom post type slug from URL
- Users create/join groups
- Redirect custom post type category to other custom post type category
- how to determine we are in add new custom post type or edit custom post type
- Single custom post type’s menu ancestor/parent is Posts archive page
- Want to be able to sign up subscribers as authors
- Advanced search form with filters for custom taxonomies
- Looking for Direction regarding Custom Posts
- tax_query not working in template
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Exclude current post for custom post type
- Publish and save specific postmeta to a filtered post_type
- how to associate several authors to a custom post type
- Pagination 404 on Index with custom query
- Display custom taxonomy on my custom post type
- List Categories (wp_terms) and count posts
- Which file/template is in charge of taxonomies for custom post types?
- Address as a content type post
- Add shortcode inside of the_content()
- File sharing platform for user contributions? [closed]
- List All Custom Post Types Posts in Nav Menu Dynamically
- how to get options to choose post format in add new post
- Update ACF fields on a frontend form? [closed]
- Printing errors during save custom post type
- How to setup a permalink structure for a custom post type
- Filtering Custom Post Type by Comparing Date and Two Meta Keys
- Using custom post types WordPress network
- Loop and add Specific Categories and Products Images
- Custom Posttype and menu classes
- Custom Post Type with Different Sets of Post Content?
- Add a class to a div if custom post type has specific terms?
- Custom post type paging return home page
- Apply category query clause to posts of custom type
- Duplicate content problems after adding an archive page to the article’s post type
- Custom taxonomy returns 404 even with saving permalinks
- Custom post type single page uses the right template in preview mode but shows a different template after being posted
- Custom Post Type works when registered in functions.php but not when registered in plugin
- Custom post type shortcode with taxonomy attribute not working and no errors
- Showing Custom Post Type with his templates on a custom page template
- Get name CPT with slug taxonomy
- How to pass modified post to RSS feed?
- Custom post edit page permalink links to edit page rather than the post
- Meta_query by date for Events archive
- How to mark posts as visited
- Show tags of custom post types in WordPress
- Query Pulling the same post twice
- Templates list in “Page Attributes” metabox is inaccurate
- creating different edit screens for different roles
- Custom Post Type as invoice or order template
- Pagination in custom loop for custom post type throwing 404 error
- Make each Value of custom field show related posts when clicked
- How can you preserve URLs when moving posts to a custom post type?
- Pagination not working for archive
- Two post types with same single template