get_the_tags()
is a shortcut function to get the terms from the post_tags
taxonomy
.
What you have done is make a new and different taxonomy
. And you will need to use get_the_terms()
to get your required data.
E.g.
$terms = get_the_terms($post, 'image-gallery_tags');
https://developer.wordpress.org/reference/functions/get_the_terms/
Related Posts:
- List all the tags from a custom post type
- Find callback function for custom taxonomy metabox
- Show certain terms from custom taxonomy but exclude ‘parent’ terms?
- How to search from specific post type with tags?
- associate custom post type with tags with specific pages
- Is it possible to make tag archive page specific to Custom Post Type?
- Custom Taxonomy – Tags Metabox is showing instead of Categories
- How to make a custom taxonomy selectable in post publish area?
- Add Tags to custom post type
- Can custom taxonomies items have attached properties?
- Change Permalink Structure for Tag.php template
- search also in taxonomy, tags and custom fields
- Listing tags from a custom post type
- Show all tags on custom post type
- Best way to specify “article type” in URL
- How to list tags from custom post type attachments?
- Why does my taxonomy have a category style div id?
- portfolio custom type tags support
- How can I create an automatic drop down menu with my tags?
- display custom taxonomies limited to custom post type?
- The Difference Between Categories and Tags and Taxonomies and Terms
- Print all the tags from a custom post type
- add custom tags for custom post type in wordpress
- Advanced archive url structure (category, tag and date)
- Search CPT by tag ids
- How to set “section categories”?
- Tags being removed upon updates to related posts: ACF/Genesis/WP5.4.1
- CPT tags not showing when editing post
- How to add independent “Tags” to Custom Post Type?
- Custom Post didn’t display on tags page
- Add tags to a “pending” post before publishing
- Custom Post Type tag taxonomy “Page Not Found”
- Organizing The Custom Post Type with Taxonomies / Parent Posts
- Loop multiple taxonomy in custom post
- Generating List of Tags from Custom Post Type
- Archive.php is not displaying tags
- WordPress Custom Post Type and sort by Tags
- get tags from custom post type
- Tags and Taxonomy links not working for Custom Post Types
- Attaching multiple custom taxonomies to one CPT?
- Custom Taxonomy as Dropdown in admin
- WP_List_Table Inside Metabox Not Working on Submit
- How to filter post data with AJAX on page?
- Custom permalinks
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Add filter to wp_list_categories and query what type of taxonomy-terms it use?
- Custom post type category, taxonomy and URL rewrite problem
- Allow duplicate slugs for posts on Custom post type in different categories/taxonomy?
- Assign category to front end post
- Custom Post Type: How to display all of same taxonomy?
- Is there any performance consideration when using Custom Post Types?
- Taxonomy structure of Sport site
- Querying Term Posts in Loop
- Permalinks not working for custom taxonomy on custom post type
- Custom taxonomy in custom post RSS feed
- How to display product subcategories into my custom post type single page
- Custom Taxonomies not appearing in Admin
- Conditional Statement custom post type category
- custom types taxonomy hide_empty
- 404 error when navigating to a taxonomy page with Cyrillic, what’s wrong?
- How to rewrite url for any specific taxonomy?
- Custom post URL 404 error
- WordPress Doesn’t Generate Taxonomy Archive
- How do I require the specification of term in a custom post type and custom taxonomy?
- How to make front end form only accept certain values
- post_type_link Filter – Too Few Arguments
- Show categories of custom post type and not all posts
- how to count the current posts terms
- Reusable metabox backend and frontend
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Using page title as a link to term archive
- Should i use custom post type for a custom footer?
- best way to use custom taxonomy, post type and meta in a job system
- Display the link of a custom taxonomy
- Custom taxonomy: on the taxonomy term page show other taxonomy terms
- Error 404 change permalink term custom term taxonomy
- How to display custom post type taxonomy in Contact Form 7 text field
- Custom post categories are not displaying on the page
- get_posts wont produce a list of custom type from a given category [duplicate]
- PHP Warning with Custom Fields
- Don’t share custom taxonomy terms if applied to multiple Custom Post Types
- How to show custom post count in archive page
- Get posts under custom taxonomy and custom post type
- Flush rewrite rules when new cpt is registred
- Shortcode in excerpt
- Show custom taxonomy not in submenu
- Custom Taxonomy is disabled on Edit page
- Custom Post Type and Custom Taxonomy not connected
- How to Associate Posts with Pages
- Get link for feed of specific post type AND taxonomy
- Get single object term for custom taxonomy
- Sorting custom post types by taxonomy (So close)
- Custom posts and custom taxonomies for many products and categories?
- How to retreive terms associated with a custom post type?
- Return Custom Post Type Categories
- Create taxonomy from Custom Post Type
- ACF Relationship: Group posts by parent category term, then child [closed]
- Custom Sort Order for Custom Post Type Taxonomy
- How to add categories to a custom post type using wp_insert_post($new_post);
- Modify permalink of CPT archive to support two taxonomies