Updated Today

About the “Updated Today” Plugin:
This is a WordPress Plugin that will display a graphic in the upper left corner of the blog when the blog has been updated the day of the view. This is my first plugin and I intend to make more. If there are any problems with this plugin let me know in the comments. Any suggestions are welcome and comments please.

Download version 2.2

Compatability:
This is tested on the most recent version of WordPress. The minimum for this plugin is WordPress 2.7.1.


To install this plugin within WordPress
1. Login to your WordPress admin area
2. From the Plugins menu choose “Add New”
3. Search for ‘updated today’
4. Verify that it’s the ‘Updated Today Plugin’ and click ‘Install’
5. You should now have ‘Updated Today’ as an option in the Settings menu, go there and set up the plugin to your liking.

To install this plugin manually:
1. Download the .zip archive
2. Unzip and upload the “updated-today-plugin” folder to your “wp-content/plugins/” directory
3. Then simply Activate the Plugin
4. If it does not display be sure to check that this line of code is in the footer.php file of your theme:

wp_footer();

Change Log:

–Version 2.2–
Added the ability to change what post types (post or page) and if it’s modified or published status that is checked. Also added the option for if the banner displays in the header area, or the footer area. Useful for some themes if it just won’t display correctly.

–Version 2.1.1–
Changed date(“Y-m-d”); to use date_i18n(“Y-m-d”); to avoid date conflicts when timezones are set in WordPress

–Version 2.0–
Added a ‘Settings’ page in which you can choose your image to display, the side of the page it displays on and allows the blogger to upload their own images to the specified folder.

–Version 1.8.1–
Cleaned up the whitespace on the CSS and added CSS to make the padding and margin on the image ’0′.

–Version 1.8–
Modified database query to use the $table_prefix variable for databases containing multiple WordPress installations as well as people who modified the $table_prefix on setup.
Big thanks to Georg and TeraS for their help on testing for this one!

–Version 1.6.1–
Fixed an error with some themes that made their header image use a Z-Index of 99, which matched that of the plugin. Changed the plugin Z-Index to 100. – thanks TeraS

–Version 1.6–
Fixed the banner from displaying when a draft was created by adding the post_status query to only include posts with the status of ‘publish’

–Version 1.4–
Fixed the issue with not displaying transparent in Internet Explorer
Fixed link of the banner to now go to the post id instead of the guid URI

–Version 1.3–
Plugin is now fully WC3 Compliant
Minor CSS style changes
Added configuration boolean (true/false) settings for placement, style, and pngfix.
Added link to the most current post
Known Issues:
When a picture is used in a post, that picture becomes the target of the link on the banner.

–Version 1.2–
Chromakode is now helping me out with some of the testing and coding.
Improved WC3 compatability (still one more issue to resolve with code placement)

–Version 1.1–
Included pngfix.js in to the plugin folder in order to make for an easier install. This allows for transparent png’s to be visable in Internet Explorer.
Thanks to http://homepage.ntlworld.com/bobosola/ for the PNGFIX code.

–Version 1.0–
This is the initial release of the plugin.
Possible issues:
Not certain if every WordPress install uses the same field names for the post_date and same table names.


  1. July 4th, 2010 at 18:19 | #1

    @GeorgWP

    Hey Georg, what theme is it that you are using? I’ve had this come up from time to time. You might want to modify the Header/Footer option that I’ve included. If that doesn’t work, let me know the theme name and I’ll test against it.

Comment pages
  1. May 11th, 2009 at 03:57 | #1
  2. July 28th, 2009 at 02:10 | #2
  3. September 8th, 2009 at 20:56 | #3
  4. September 8th, 2009 at 20:58 | #4
  5. April 19th, 2010 at 21:06 | #5
  6. April 21st, 2010 at 22:38 | #6