Limit Modified Date Wordpress Plugin - Rating, Reviews, Demo & Download

Limit Modified Date Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Prevent the “modified date” from changing when making minor changes to your content.

When “Don’t update the modified date” is checked, saving content does not update the post modified date. This gives you more control when using get_the_modified_date() in your theme. Minor changes like adding tags or fixing typos won’t bump the modified date.

This plugin will maintain the previous modified date. It does not let you specify a custom modified date.

When you’re ready to publish a major content change, you can uncheck this setting before saving the post.

This plugin works with both the Gutenberg block editor and the Classic editor.

Customization

Your theme will need to use get_the_modified_date() to display the modified date.

This plugin only applies to the post post type by default. You can customize which post types it appears on using the limit_modified_date_post_types filter.

add_filter( 'limit_modified_date_post_types', function( $post_types ) {
    $post_types[] = 'page';
    return  $post_types;
});

Screenshots

  1. Checkbox in post editor

    Checkbox in post editor

  2. Published and modified date shown in theme

    Published and modified date shown in theme


Reviews & Comments