wp-last-modified-info

Show or hide the last update date and time on pages and posts very easily.

WP Last Modified Info

WP Last Modified Info

šŸ”„ Display last modified date and time on pages and posts very easily. You can use shortcode also to display last modified info anywhere on a WordPress site running 4.7 and beyond.

WP compatibility PHP compatibility GitHub release (latest by date) PHP GitHub Release Date GitHub last commit GitHub Repo stars GitHub forks

Description

WP Last Modified Info: the Ultimate Last Modified plugin for WordPress

Most WordPress themes usually show the date when a post was last published. This is fine for most blogs and static websites. However, WordPress is also used by websites where old articles are regularly updated. This last updated date and time is important information for those publications. The most common example is news websites. They often update old stories to show new developments, add corrections, or media files. If they only added the published date, then their users would miss those updates.

Many popular blogs and websites donā€™t show any date on their articles. This is a bad practice and you should never remove dates from your blog posts.

So now it is possible to add last modified / updated info on your wordpress posts and pages. Just install and activate this and configuaration is very easy.

Like WP Last Modified Info plugin? Consider leaving a 5 star review.

What does this plugin do?

This plugin automatically inserts last modified or updated info on your WordPress posts (including custom post types) and pages. It is possible to use shortcode [lmt-post-modified-info] for posts and [lmt-page-modified-info] for pages for manual insert. This plugin also adds ā€˜dateModifiedā€™ schema markup in WordPress posts automatically and it is used to tell the last modified date & time of a post or a page to various search engines like Google, Bing etc.

Compatibility

Support

Contribute

Installation

From within WordPress

  1. Visit ā€˜Plugins > Add Newā€™.
  2. Search for ā€˜WP Last Modified Infoā€™.
  3. Activate WP Last Modified Info from your Plugins page.
  4. Go to ā€œafter activationā€ below.

Manually

  1. Upload the wp-last-modified-info folder to the /wp-content/plugins/ directory.
  2. Activate WP Last Modified Info plugin through the ā€˜Pluginsā€™ menu in WordPress.
  3. Go to ā€œafter activationā€ below.

After activation

  1. After activation go to ā€˜Settings > WP Last Modified Infoā€™.
  2. Enable/disable options and save changes.

Frequently Asked Questions

Is there any admin interface for this plugin?

Yes. You can access this from ā€˜Settings > WP Last Modified Infoā€™.

How to use this plugin?

Go to ā€˜Settings > WP Last Modified Infoā€™, enable/disable options as per your need and save your changes.

How to check this plugin is working?

After enable options in ā€˜Settings > WP Last Modified Infoā€™, open any page or post and you can see the change.

How this plugin works?

This plugin hooks into wordpress content area and displays last modified information on posts and pages.

Will it requires editing code to show Last Modified date?

Not at all. You can show the revised info by just installing this plugin. Use the Plugin Options to customize the date/time according to your need.

Is this plugin compatible with any themes?

Yes, this plugin is compatible with any theme.

Does this plugin support all custom post types?

Yes, this plugin supports all types of custom posts.

How to customize last modified text style?

Go to ā€˜Settings > WP Last Modified Info > Misc. Options > Custom CSSā€™ and add your custom css.

Can I sort posts and pages by last modified info in dashboard?

Yes you can. You can sort posts and pages by ascending or desending order.

How this plugin helps to optimize SEO?

This plugin wraps modified info with ā€˜dateModifiedā€™ schema markup which is used to tell the last modified date & time of a webpage to various web crawlers (Google, Bing etc.)

The Date and Time inserted by this plugin is dependent on what?

The plugin make use of your WordPress Date, Time and Time zone (Dashboard > Settings > General) in wordpress dashboaard.

Is this plugin compatible with multisite?

Yes, it is fully compatible with multisite.

Can I change ā€˜Last Updated onā€™ text?

Yes, you can. Just set your custom text in settings and save your changes.

Can I use this as template tag?

Yes, you can. In this case, you have to edit your themeā€™s template files i.e. single.php, page.php etc. And add/replace default published date function with this:

Returns the last modified info:

<?php if ( function_exists( 'get_the_last_modified_info' ) ) { get_the_last_modified_info(); } ?>

Displays/echos the last modified info:

<?php if ( function_exists( 'the_last_modified_info' ) ) { the_last_modified_info(); } ?>

Published date is equal to modified date. What is the solution?

Sometimes you may want to show last modified date only. For that reason, post published date and modified date would be the same and the last modified date will still appear on post/pages even if itā€™s the same as the published date. In that case, you can set a time difference(ex. 1 day i.e. 24 hours) between post published date and modified date via plugin settings gap option.

The plugin isnā€™t working or have a bug?

Post detailed information about the issue in the support forum and I will work to fix it.

Changelog

View Changelog