When people link into your site, the content may not be your most recent. The visitor may not realize that you are still active and publishing new content. With this plugin, visitors will see that you are active and writing new content.
- Download the .zip file
- Unpack into wp-content/plugins/ folder
- Activate the plugin
If you have questions please leave them in the WordPress.org Forums.
Non ci sono recensioni per questo plugin.
Contributi e sviluppo
“Updated Today Banner” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.Collaboratori
Changelog (registro delle modifiche)
Complete refactor into an OOP based plugin
Static settings variable should help reduce database calls
New uninstall cleanup method
Fixing some Notices and other Code Cleanup
Fixing some short tag issues.
Adding in a constant for the Version number to add on the enqueue scripts/styles
White Spacing Fixes to meet standards (Thanks to the WP-PHPTidy extension for Sublime Text 2 – https://github.com/welovewordpress/SublimePhpTidy)
Fix for mistaken Short Tags issues, my bad guys (Thanks to Scott Grayban of https://www.borgnet.net for the find/fix and working with me on it)
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.