Recently I added a contact page to my site, but as I use JS Toggle boxes to keep my sidebar clean, it was buried under the Pages section. I wanted a way of announcing to my readers where it was without using a post and keeping at the top of every page, so I thought I would try my hand at writing a plug-in. And so TeeJay’s Site News was born.

Download

Download here

Installing

  • Download the plugin (see “Download” above).
  • Decompress the .zip archive and copy the file tj_site_news.php in your plugins directory (/wp-content/plugins/) or in a sub directory of the plugins directory.
  • Enable the plugin in the WordPress Plugins admin page
  • Usage

    Just activate the plugin and change the options.
    Options

    To keep it simple there are only 3 options:

  • Display Name - What you want to call it
  • Site News - Your grand announcement
  • Active - whether you want it turned on or not
  • CSS

    Below are the classes and id’s I used with some formatting for my theme

    /* Begin TJ Site News Formatting */
    #tjsn table{
    width: 520px;
    text-align: center;
    border:solid 1px #706E4F;
    }
    #tjsn thead{
    border-bottom:solid 1px #706E4F;
    text-align: left;
    font-weight: bold;
    color: #ffffff;
    background: #5467A7;
    }
    #tjsn tbody{
    color: #5467A7;
    }
    #tjsn tfoot{
    border-bottom:solid 1px #706E4F;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    background: #EB8C35;
    }
    /* End TJ Site News Formatting */

    Version History and Change Log

    Version 1.0 Released