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.5
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:
Moved CSS into wp_enqueue_style
Moved pngfix.js into wp_enqueue_script
Added ability to upload images
Added an option to make the image a link to the most recent post.
Cleaned up the options to a single Datbase Entry to require less calls to the get_option function. This also imports your old settings automatically.
Cleaning a little house from old settings and code.
Plugin now sets defaults upon activation and removes settings from the options table when deactivated.
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.
Changed date(“Y-m-d”); to use date_i18n(“Y-m-d”); to avoid date conflicts when timezones are set in WordPress
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.
Cleaned up the whitespace on the CSS and added CSS to make the padding and margin on the image ’0′.
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!
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
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’
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
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
When a picture is used in a post, that picture becomes the target of the link on the banner.
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)
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.
This is the initial release of the plugin.
Not certain if every WordPress install uses the same field names for the post_date and same table names.