By default, Pages and Posts support very similar things. The full list can be found on Trac. If we want to remove one of these post type features we can use the remove_post_type_support()
function:
function remove_posttype_supports() {
remove_post_type_support( 'page', 'revisions' );
}
add_action( 'init', 'remove_posttype_supports' );
The above you would need to put in your functions.php or as a plugin.
Related Posts:
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- Remove at the beginning of the_excerpt() with str_replace
- Uncaught TypeError: Cannot read property ‘firstChild’ of null after upgrading to WordPress 5.5
- Batch update a post meta field value of each post in Post Type
- Create dynamic pages from external JSON data without storing in Database?
- How to restrict wp generate attachment metadata() to certain intermediate image sizes
- Extending the WP_Widget_Text class
- Display FNumber (aperture) as a number versus a fraction
- different id for same element visual composer [closed]
- Please help me with tag and php code [closed]
- Display WordPress Post Content in 3 Columns
- Hook called before text widget save
- meta box not display data input in the textarea
- wpdb prepare insert table doesn’t work
- How to modify the default feed via a function
- dynamic page using php from sql database
- Store metakey value as an array
- How do I change this function from two returns to one string to show sku and dimensions in WooCommerce cart?
- how to add re-order to wp user panel of wordpress?
- How to add new CSS file to new PHP file
- WordPress SQL JOIN query
- WP_Query and help with the loop for magazine front page
- Why does PHP called with Jquery AJAX not allow additional php code to be added?
- Infinite Loop in WordPress Installation
- Generating 10 000 WordPress posts using PHP and avoiding Server Timeout error
- Using the get_template_part method within an mu-plugin not possible?
- Updating user meta adds string count to value?
- Woocommerce Product page add on checkbox and price
- Sum All the Post Meta of Published posts of Current Logged in user
- Page template not working when logged out
- WordPress child theme, creating a custom php template page
- How to block access to a folder inside of wp-content for non logged in users?
- Ordering / grouping posts by datepicker ACF
- Only Get A Certain Number of Posts From WP_Query
- Even with PHP plugin get_posts not working in widget area
- how to add number value in front for variable [closed]
- Use custom get results query to show posts WordPress
- Execute php in pages
- echo variable containing html and the_permalink();
- Search in particular category in wordpress
- Problems With Query and/or Template Part and/or PHP
- Add Custom Post Type on the Fly or create an array
- What’s the best way to format ACF number fields for display on the front end?
- Create an unique ID number after submit form
- static array on functions.php
- How to implement a custom sliding banner? [closed]
- How to display inputted data in Ajax without button or click event
- How do I empty a specific meta_value for all users in PHP
- Import users and custom user meta from csv
- Gutenberg – render_callback does not pass ToggleControl value on frontend
- Remove post image caption from post_excerpt();
- Prevent users from display default wordpress login form
- Detecting charcater encoding for wp-config.php file
- How to customize content-video.php file in wordpress as is in html file?
- Create custom table for wordpress custom registration flow
- Search results always returns “No results” no matter what
- Suddenly sessions and header location not working
- Custom Navigation Bar JSON Syntax Error in JSON at Position 0
- bloginfo url in javascript
- Getting invalid user ID error when creating a new user with wp_insert_user
- How to extract URLs from wordpress taxonomies
- Warning: Illegal string offset ‘post’ and ‘page’
- Remove content links (internal and external), but exclude post at specific categories
- Best way to delete/don’t load a .php file?
- Get collected weight ordered per shipment method
- orderby property of query on pre_get_posts returns incorrect value
- Custom form that stores data in mysql database
- How to get data (not value or name) from radio options to POST to database
- Adding commas between post titles on an archive page?
- Authenticate + Authorize WP REST API request before built-in WP JSON Schema Payload Validation?
- can someone help me what’s wrong with this code?
- Make a variable global and use it for inline script
- How to enable REST API on custom post type without Gutenberg?
- Creating a table via dbDelta
- wpbd to connect to a VPS mysql database
- How call WordPress shortcode inside function file
- Retrieve data from external database and insert back in
- strict custom php script on specific product category [closed]
- How to get the ID of the WordPress user
- Fetching only specific value from php file
- AJAX returning blank result
- Add adjacent post function inside custom recent post function
- How to exclude first 2 posts from a specific category for a custom post type archive page
- Customize Notification Email Sent to New User When Manually Created by Site Administrator
- Woocommerce product variations getting created without attribute values selected
- Guests comment form – prevent duplicate email addresses
- Adding Microsoft Teams Incoming Webhook to WordPress, Problem with Rest Route?
- Custom CPT – Programmatically create categories to assign CPT when a new one is created
- Fatal Error: Uncaught ArgumentCountError: Too few arguments to function – on logout of wordpress dashboard
- Why is my custom email notification after purchase not sending?
- Error when loading Dashboard
- How do I exclude the current post from the upcoming post query
- using AJAX [object Object]
- PHP how to submit array elements to database
- Ajax – how to use XMLHttpRequest in wordpress
- Running a long script in PHP
- WordPress wp_set_object_terms does not assign product to custom taxonomy
- PHP Add products to cart with WooCommerce Addons
- Adding caption to all images inside an article
- WordPress Register Block with metadata