Try adding the post format support on the arguments when you register your post type instead of using add_post_type_support
, like this for example:
$args = array(
...
'supports' => array('title', 'editor', 'author', 'post-formats')
);
register_post_type('gallery-custompost', $args);
See if have any luck.
Related Posts:
- How to set a default format for a custom post type?
- How do I add a new custom post format?
- Custom Post Formats for Custom Post Types
- Custom post types vs post formats : future-proofing – is one less “future proof” than another?
- How can I add dropdown widget/box to admin post page?
- Strip shortcode from specific post types (formats)
- Apply post formats to a specific post type only?
- Is possible to add post-formats to custom-post-type?
- WordPress As A Shared Items Collection
- WordPress export tool doesn’t export post-format value of custom post type?
- Registering different Post Formats for Blog Post and CPT
- URL of a custom post type’s post format archive?
- How can I add a filter to a particular post format?
- Is it possible to filter the display name for post formats for display in the Formats meta box?
- Understanding Post Formats/Custom Post types Etc
- Post format or Type for List Type Posts
- Getting Twitter Content on My Blog
- Use different post formats on different post types
- How does one go about converting custom post type to post format?
- Archive of post format for Custom Post Type
- Why is my custom post type shown in the wrong place?
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Get list of all registered post types slugs
- tag.php doesn’t work with tags on a custom post type post?
- Resource Issues: Importing external data into custom post type and keeping records up to date
- How to make a page template to list all galleries?
- paginate function in archive for custom-post-type
- Does WordPress support an unlimited or large number of custom post types?
- Define menu_order on Creation of New Custom Post?
- Page to display an archive of taxonomies
- WP Query group/order by category name
- exclude custom post type by meta key in wp_query
- How to make custom posts to behave like taxonomy?
- Unable to get post content from custom post type loop
- Custom Post Types and Categories?
- Custom post type ‘orderby’ => ‘meta_value’ not working
- Should I use custom taxonomy or custom post type
- Loading custom post thumbnail into stream
- Custom Post Type doesn’t show Draft and Trash Options
- How to query_post custom posts within default taxonomy?
- the_content() not outputting anything (Advanced Custom Fields)
- Change custom post type slug from plugin options
- How to use has_archive but disable feed per post type?
- Custom Taxonomy back-end customizations
- WordPress CMS Inquiry
- Custom rewrite url category
- Edit the author of custom post type
- Is it possible to have a custom post type with feed but without the archive?
- Custom bulk_action
- How to: wordpress job listing and candidates details
- Hide if Custom Post Type is empty
- What’s the name of the custom post type yearly archive template?
- Combine multiple getEntityRecords calls
- Custom URLs in post types make it impossible to view archive
- How to add and clear custom post types and taxonomies in a plugin? Considerations for existing data
- Permalink problems with custom post type and custom taxonomy
- Adding Multiple Post Types to Query [duplicate]
- Custom Post Type Categories URL not displaying posts
- Custom post type subtaxonomy template
- tax_query (if the terms are empty)
- Getting only one post per category
- How I can made a custom post type to page templates?
- trying to show single post but displays all post on a custom post type
- List all posts in taxonomy term
- insert image with custom post type
- get post count for related author
- Create list from custom field comma separated values
- Fetch data from two custom post types and create multidimensional array for output to html table
- Restrict Custom Post Type per role in Dashboard
- Create a Dropdown Selector and Redirect for a Custom Taxonomy in WordPress?
- How to Implement Search Functionality?
- Adding /blog in front of single posts (only)
- wp rest api orderby field in a custom table
- Post template with breadcrumb needs to show page navigated from
- add all blog posts to folder
- ‘Simple’ Reservation System
- Reading Custom Post data so I can have user update Manually
- Custom post types – meta_query: search lesson which starts sooner
- Custom Post type plugin is using theme single.php and style.css
- WordPress Custom Post Type – Post Attribute: Template. Template shows up and saves on the back end, but the default theme file is being rendered
- Capabilities and mapping required for a role to be able to edit other’s posts of a custom type, BUT only be able to edit their own blog posts
- Permalink Problem with Custom Post Type
- Automatically convert standard posts with custom fields to custom post types
- How To Display Category list from Portfolio post type plugin?
- Custom Post Type tag taxonomy “Page Not Found”
- Remove custom post type slug but keep related category taxonomy permalink
- Adding CPT changes entire layout of my site except for the archive of that CPT
- page not found for example.com/custom-post-name
- How to show Y number of custom posts after every X normal posts?
- Display Custom Post if custom field is marked
- Custom post type category page not working
- Turn off comments for given CPT checkbox?
- Categories in custom post types
- List a custom post type’s posts ordered by nested custom taxonomy
- listing custom post type category page
- Inserting random posts
- Rewrite a filter as shortcode (or something like that) to use anywhere in CPT
- WPNavi pagination links not working on custom pages
- Rewrite Rule for custom post type link with or without taxonomy terms
- How to add to taxonomies to a post type