Sitenotice Generator

As far as I could tell, [WordPress] doesn’t have any kind of global sitenotice feature like MediaWiki, but I needed one to promote my upcoming ride in the 2007 MS Bike Tour, so I wrote my own quick-and-dirty plugin.

I’m in the process of submitting this to wp-plugins.org so I can start some more serious and stable development, but if you’d like to try it out in the meantime, feel free to download the alpha version:

* sitenotice-1.0alpha1.zip
* sitenotice-1.0alpha1.tar.gz

To use the plugin, you’ll need to add a new template tag to an appropriate place where you’d like the sitenotice to appear when it’s enabled (I have mine right at the end of my header.php template file). The new tag is <?php get_the_sitenotice(); ??>. The plugin adds a new admin panel called “Sitenotice” to the WordPress options menu, from which you can edit the sitenotice message and configure other features.

This is alpha software, so if you install it, realize you’re using it at your own risk. If you do try it out, let me know if you have any feature requests or find any bugs I should squash! :syzygy: