WP Plugin: Genki Announcement
March 9th, 2007 Free Wordpress Plugins
I had always wanted to try my hands at writing a Wordpress plugin but with the vast variety of plugins available, there appears to be little need for yet another plugin developer. Until I saw the list of wanted plugins by Lorelle. I decided to pick on the easiest plugin - Blog Status Announcement or Alert.
Feature List
- easily switch on and off through Admin Options
- display message without editing theme files (above 1st post or through widget)
- display different message to different roles/users
- timer to switch on and off announcement (only in WP 2.1 and above)
Installation1. Upload plugin folder and activate plugin
2. Go to Admin Panel > Options > Genki Announcement.
Announcement Status
- Show above first post (requires the_post() function in theme, most themes should have this)
- Show in Widget (requires Widgets Plugin)
- Show where I insert the <?php genki_announcement ?> template function (requires editing of theme)
Message
- Single message for all roles/users
- Different message for different roles/users (enter message into respective field)
Date to switch on & off announcement
- Format = YYYY-MM-DD hh:mm e.g 2007-08-18 13:59
- Leave blank to turn off announcement manually
- This feature only works in Wordpress 2.1
Upgrade
1. Deactivate plugin
2. Remove genki_announcement.php file.
3. Upload genki_announcement folder to the plugins directory
4. Activate plugin
Changelog
Version 1.1
- Display above first post
- Display using widget
- Timer to switch off
- Display different message to different roles/users
- Remove css styling using .genki_announce class
Version 1.2
- Option to set border and background color of frame
- Preview of announcement message
- timer to switch on announcement (only in WP 2.1 and above)
- Gettext-able by Masayan
- Japanese translation by Masayan
Version 1.3
- tinymce added
- Turkish translation by Baris Unver
- French translation by Marie
- display announcement only once when using the option “Show above first post”. announcement may still show up in the wrong place but should increase the chance of this option working.
Version 1.4
- tinymce removed
- Fix: Different Message for Different Users/Roles feature
License
This plugin is released under the Creative Commons GNU GPL.





















December 6th, 2008 at 6:01 am
Just what the doctor ordered….
Great work, thanks….