NB: The information on this page is automatically updated from WordPress.org, it may be up to 1 hour out of date.
Download
Download the current version of Last Modified Footer – version 1.1.0 from the WordPress Plugin Repository. This version was released on Tue 18th Aug, 2009.
This plugin requires WordPress version 2.8 or later. It has been tested using WordPress version 2.8.5.
Description
The Last Modified Footer plugin generates a message stating the date / time the content being viewed was last modified. This information can be placed in the site footer, or elsewhere on the page
For homepage, archive pages (categories, tags and authors), search results and 404 error pages, something similar to the following text will be generated:
Site last updated October 1, 2007
For single posts, pages and attachments something similar to the following text will be generated:
Site last updated October 1, 2007; This content last updated October 1, 2007
The message templates, placement and styling as well as the format of the time and date can be modified via the Last Modified Footer administration panel ('Settings' > 'Last Modified Footer').
Changelog
Latest Change:
- Encapsulated plugin functionality in a class
- Consolidated plugin options into an array stored in a single option
- Removed duplicated code from plugin
- Cleaned up code to match WordPress Coding Standards
- Re-wrote admin panel code to use the new options mechanism introduced in WordPress 2.7
- Improved the translatability of messages by allowing manipulation of the position of non-translatable elements in messages
- Moved boolean options to named string options for better forward compatibility
- Added footer message to plugin admin panel stating the name of the plugin, the current version and the author's name
- Re-wrote plugin activation hook to attempt to pull in existing options from current and previous versions of the plugin as well as removing redundant options
- Added call to load the plugin l10n / i18n text domain
- Removed plugin deactivation code to stop configuration options being removed when plugin is deactivated
- Added uninstall script to ensure that configuration options are removed when plugin is deleted
- Encapsulated plugin widget functionality in a class based on the WP_Widget class introduced in WordPress 2.8
- Re-wrote widget code and admin panel to conform with the WP_Widget class requirements
For a complete list of changes to the plugin, view the Version History.
Plugin Stats
- Last updated 175 days ago
- More than 1,867 downloads
- Rated 5 out 5 on average by WordPress.org users
Installation
- Unzip the plugin archive
- Upload the entire
last-modified-footerdirectory to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Goto the plugin admin panel to customize the messages that the plugin generates
NB: When the plugin is updated it will attempt to keep your previous configuration options and delete any stray options created by previous versions.
To make sure that the update process works properly please do not deactivate the plugin prior to updating it - The WordPress plugin update functionality takes care of everything for you.
FAQs
Do I need to alter my site templates or theme
No. As long as your template has one of the following lines of code in the footer.php file:
<?php do_action('wp_footer'); ?>
<?php wp_footer(); ?>
Then the plugin can use a built in WordPress hook to automatically insert the information into your website. This should work with 99% of themes based on normal WordPress rules.
Additionally, the included widget can be used to insert the information in a sidebar or there are two plugin functions available to generate the output anywhere that PHP can be executed:
<?php lmf_generate_unformatted_output(); ?>
<?php lmf_generate_formatted_output(); ?>
Why Isn't XYZ Working
If you are having problems then you can ask questions, leave comments or find more information at the plugin's homepage: Last Modified Footer.
Uninstallation
- If you wish to stop using the plugin but keep your configuration options then simply use the 'Deactivate' link on the WordPress 'Manage Plugins' screen
- If you wish to completely uninstall the plugin then use the 'Deactivate' link followed by the 'Delete' link on the WordPress 'Manage Plugins' screen. This removes the plugin files and your configuration options
Configuration
Single Post / Page Template
The message template for single posts / pages. This defaults to 'Site last updated ite_last_modified%; This content last updated %content_last_modified%'. The macros are replaced automatically by the plugin.
Generic Template
The message template for other pages. This defaults to 'Site last updated ite_last_modified%'. The macros are replaced automatically by the plugin.
Time / Date Format The format to use when displaying the date and time. This defaults to the format used by the site, which is specified in the WordPress options.
Text Formatting The CSS style definition to be applied to the generated string. This defaults to a light grey.
Use "wp_footer" Hook The automatic placement of the message in the site footer can be toggled on / off. This defaults to on.
Release Notes
- No known issues are present in this version
News
To be informed of any news for this plugin, please subscribe it’s news feed. This only contains posts relating to this plugin. Alternatively please see the category archive.
Feedback
Last Modified Footer is tested against a set of use-cases covering normal operation against the current version of WordPress. It has not been specifically tested for compatibility with any other WordPress Plugins. Feedback, bug reports and feature requests are very welcome, either by email or using the comments form at the bottom of this page.
Useful Links
Last Modified Footer is copyright © 2009 Hugh Johnson.
Last Modified Footer is free software licensed under the GNU-GPL. Last Modified Footer comes with ABSOLUTELY NO WARRANTY.
Dont work on WP MU 2.8.2. When saving settings it gives me an error cant find configuration. Guess its a simple thing to fix.
. Great plugin though.
Intriguing, the plugin uses the standard WordPress options mechanism so I’m not sure why it would have failed, but if you can tell me exactly what the error message is then I’ll try and work out what’s going on.
Hugh
Mrsouza,
I think the problem was due to the new options mechanism introduced in WordPress 2.7, the upcoming version of the plugin (1.1.0) should solve your problems.
Regards,
Hugh
Last Modified Footer not showing in WP 2.8.4
Thanks.
Hi Edward,
I have a plugin update (the version will be 1.1.0) that should be released in the next 24 hours that solves this. This is a re-write that I’ve been working on for a while which has been tested on WordPress 2.8.4, so it should solve your problems as well as introducing some new features.
Thanks,
Hugh
Will it be possible to include this somewhere in the post itself rather than all the way at the bottom. Also it does not seem to work with pages.
Thank you.
Edward,
You can include the message anywhere you like using the PHP wrapper calls, you will need to place one of the following calls inside the loop that generates each post:
< ?php lmf_generate_unformatted_output(); ?>or
< ?php lmf_generate_formatted_output(); ?>What do you mean when you say it does not work with pages? Does it display any message at all? What version of WordPress & theme are you using?
Hugh
I am using 2.8.4 and the message below about last updated on only shows for posts, not on any pages.
Edward,
What theme are you using? The code that outputs the message treats posts and pages exactly the same. As long as the ‘Singular Template’ is filled out in the plugin options then it should be displayed for posts and pages.
Are you using the option that places the message in wp_footer or have you put a PHP call somewhere in your template? If so, whereabouts?
Hugh
I used the default plugin without any changes to it. I am using a custom template. You can visit my site to see it. Also can it be put right below the comments box itself or at the bottom of a page and not outside the page? How do I do that. Not too good at scripting yet. Your help will be appreciated.