The problem is higher in your code.
$cat = get_cat_ID($developer);
will return false for a custom taxonomy, as it only checks the standard categories.
Use get_term_by instead.
Related Posts:
- How to only list the child terms of a taxonomy and not their parents?
- How to use taxonomies on attachments with the new Media Library?
- Hierarchical taxonomy UI
- How to display custom taxonomies in posts?
- Filtering custom taxonomies
- Allowing specific users to only add posts using certain custom taxomy terms
- Edit tags page for hierarchical taxonomy doesn’t show taxonomies at all depths
- I want to load post content by categories using Ajax
- Hook to process a new taxonomy tag before it is created?
- Removing taxonomy base using WP rewrite
- get_terms() returns an empty array
- Scheduling posts to update once per day with wp_cron
- How to find taxonomy name using only taxonomy TERM ID (or taxonomy term name)
- Multiple users – only allow them to manage their own terms for custom taxonomy when logged in
- WP_insert_term how to insert multiple values as taxonomny term?
- How to include parent terms in hierarchical taxonomy URLs?
- Permalinks for quote authors
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- Custom taxonomy term as class?
- How to edit/remove a term that’s in multiple taxonomies?
- Using a loop to display terms associated with a post
- Custom Taxonomy: Parent still counting deleted Child
- Improving WP_Query performance for multiple taxonomies
- Create Child Taxonomies
- how to create a proper query for getting a list of users with taxonomy related meta key
- Taxonomy page template changing when using query variables
- Get direct children of custom taxonomy
- How to add autocomplete to custom taxonomy for CPT
- List subcategory on taxonomy term page
- Operations with custom fields values in a loop
- How to get custom post type taxonomy
- Using wp_list_categories to show more than one custom taxonomy
- Show all posts without a custom taxonomy
- remove sanitize_title() for register_taxonomy()
- How do I taxonomy terms based on terms they are used alongside?
- Can I use a Custom Meta Value inside of ‘get_the_terms’?
- How can I populate a select element with terms from a custom taxonomy and filter post results?
- How do I list the pages of a custom taxonomy?
- has_term if/echo else/echo function
- Why does a new taxonomy term get created when I assign an existing term to a post?
- Add Image Uploader In Admin Panel
- Tell the difference between a term and page when they have the same ID
- add hirarchy of categories in products grid of visual composer
- How do I create a permalink structure with 2 taxonomies
- How to use multiple archive templates for a taxonomy?
- Hiding taxonomies with no children WP_Query & tax_query
- Custom taxonomy for Media Library
- Clicking Add New button for custom taxonomy only moves element
- How do I return all terms from multiple taxonomies?
- Returning One custom taxonomy term name
- get_term_link not working
- Restrict editing of posts with specific taxonomy to users with a matching meta value?
- Hide terms if they aren’t the same as the current term
- Corrupted nav-menu?
- Hide taxonomy when term is empty
- The best way to display taxonomies
- Dynamically set taxonomy term and show admin notice on post save
- Remove taxonomy widget from “PAGE” post
- Custom rewrite permalink doesn’t work
- Can you hide empty terms using get_term_children?
- Register `product_cat` taxonomy for default post post type
- Don’t display taxonomy if empty
- how to access the $query variable inside taxonomy-xxx.php template file?
- List terms of custom taxonomy if matches other taxonomy
- Order custom taxonomy by date
- Permalink issues with custom taxonomies
- Insert taxonomy slug into loop class
- wp_set_post_terms example?
- Change the full permalink (URL) of a single post by connecting it to a specific page
- Where to find relation of custom post type category with it thubmnail image in wordpress database
- Adding term to a custom taxonomy based on term from product category
- Add taxonomy column with meta field (ACF) content
- Warning: Undefined variable $post in C:\xampp\htdocs\… after PHP upgrade
- How to display taxonomy terms in a dropdown on a user edit page
- Custom Taxonomy archive.php template naming not working
- Remove custom taxonomy slug from URL
- Add A CSS Class To A Menu Item When A Custom Taxonomy Term is Present On Single Post
- How to appear plural or singular custom taxonomy name(-s) inside woocommerce single product meta php file
- Filter Tags for current users
- Add term to taxonomy programatically
- How to filter a page title with custom taxonomies
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- How can I rewrite a custom taxonomy archive slug
- Custom TaxonomyTemplate
- Output slugs to use as class names for every taxonomy a post is attached to
- WordPress custom taxonomies new/edit post autocomplete
- Templates files for custom post type with custom tags
- Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)
- taxonomy query on front page
- Pagination with custom query (not using posts)
- What’s the proper WordPress URL for the template of my custom taxonomy?
- WordPress show posts from children terms of a taxonomy term
- Get Posts with matching lowest taxonomies
- How to randomise a custom taxonomy tag cloud
- query posts returns 10 records
- Select Custom Taxonomy from Theme Options
- Remove Tag Cloud Words from Custom Taxonomy
- How to add/enqueue Custom CSS for a custom taxonomy page?
- Search and filter with custom field in taxonomy
- Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)