Remove the revisions
property inside the supports
parameter of register_post_type()
.
Example
$args = array(
// ...
'supports' => array('title','editor','thumbnail','comments','revisions')
);
register_post_type('book',$args);
Change to:
$args = array(
// ...
'supports' => array('title','editor','thumbnail','comments')
);
register_post_type('book',$args);
Related Posts:
- Enable revisions for custom post type
- How to properly turn off REVISIONS and AUTOSAVE for whole site and optionally for a custom post type only
- Storing revisions of metadata for custom post type
- Per Post Type Revision Numbers
- Post revisions don’t save or show up only for custom post types
- WordPress 4.4+ : How to revision CPT + metadata
- Why is wp_is_post_revision always false?
- Enabled Revisions to existing custom post type not working WordPress
- wp-types – How to allow custom fields to be saved in the revision
- How do I get the intended post type of a revision post?
- WP Storing postmeta into revisions
- Only keep the First and Last Revision of a post
- Post author for revision not being set on update/insert
- Show Post Revisions on front-end
- Too many revision when post status is changes [duplicate]
- Display all posts in a custom post type, grouped by a custom taxonomy
- Programmatically publish a post (custom post type) with custom fields
- Get list of registered custom post types
- Echo all meta keys of a custom-post TYPE
- Ordering Posts List By Taxonomy Terms?
- post count is wrong when using same taxonomy for 2 different CPT
- Issues when rewrite rules collide?
- Custom post type permalink changing itself every other change
- Show Custom Post Type by Author
- Newer/Older posts links display same posts on every page
- How to sort CPT by custom meta value (date), and return posts month by month
- WordPress Custom Shortcode Conflicting with Media Library
- Creating a gallery custom post type?
- Pagination in plugin with custom post type
- Managing event dates vs published dates in admin custom post type
- Adding Custom Taxonomy to WordPress default Post type
- Adding description to archive of Custom Post Type
- How do I include drag-and-drop in a plugin?
- Programmatically adding posts
- Conditional to modify query results
- How do I alter the position of a Custom Post Type menu item within my plugin admin menu?
- Get rewrite slug of custom post type in template
- Use WP_Query() to Output the 4th to 6th Most Recent Posts of a Custom Post Type
- How can I add another option to this custom post function?
- Restrict user to only one custom post type
- Change custom post type slugs, with category/taxonomy before post type name
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- How to display all posts from standard posts to custom post types in a loop with pagination?
- Custom rewrite rule for hierarchical custom post type
- Page template with different page and post content
- Custom Post Type with archive page but no detail page
- Custom Post Type with image gallery
- How to integrate video slide using custom post types?
- Custom post type url with category
- Display featured image from one CPT within another CPT query
- Show titles, date of all posts on single category page
- Remove slug in URL custom post type
- How to restrict author to only access one custom post type ?
- Not sure if I should create multiple custom post type [closed]
- How to get a custom field value of a custom post?
- Set Custom Post Type in Widget Settings for use in Widget
- Add CPT values to Database
- Multiple single templates?
- Template files for Custom Post Type and Taxonomy
- Ascending Order is not Working in Custom Post Type Listining
- how to set a WP Plugin’s url
- WordPress menu with custom taxonomy
- Values from meta-box not on $_POST
- custom endpoints on Custom Post Type return 404 page not found
- ajax response not recieving
- Creating a non-hierarchical Taxonomy that behaves like categories
- Custom posttype content metabox
- Custom Post type content within a slider
- Categories won’t appear on custom post type
- Display all images from specific CPT
- Add Custom Values to Permalinks Through Custom Fields and Posts
- “Custom Field” to Excerpt field” for pages? [closed]
- Get_the_term_list inexplicably adds values in foreach
- Single parent post lists child posts with pagination
- Custom post type items open in archives?
- Can I automatically assign a page template to a custom post type (i.e page-slug.php file)
- Custom post category name showing empty
- How can I write a function that would update any missing specific post metadata?
- Not saving custom taxonomy while using ajax
- remove duplicate name submenu link from the custom post type
- Modify Publish Metabox location on CPT
- Restrict Custom Post Type to One Item
- subtracting the current post form then whole loop, which is generating all CPT titles
- Custom Function to redirect singular post if specific meta field is empty
- Custom URL for Custom Post Type & Custom Taxonomy Term
- How to mix 2 kinds of post types
- Using pre_get_posts assign custom post to wordpress editor user
- Edit single page from plugin
- How to shows CPT which has specific meta key?
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Manually build WP_Query
- custom post type loop
- Custom Post save causes 500 error
- Custom Post Type Causing Admin Sidebar UI Issue
- WordPress Custom Post Type and sort by Tags
- Archive page of filtered posts
- Custom post type child of custom post type
- single-mySlug.php works: archive-mySlug.php does not. Custom Post Type
- Custom post type navigation – 404 on page 2
- No error in debug mode, wordpress template can not be loaded