WordPress.org

Forums

[resolved] A Changeable message at the top of ever page (2 posts)

  1. stukdog
    Member
    Posted 9 years ago #

    I am starting a new blog that will hold continual contests that last three weeks. When one contest is over, the next one will start.

    I'd like to be able to have a message at the top of every page that says something like, "The current contest theme is ______. It will end on _______"

    I know I can change it in the header.php or sidebar.php each time, but I was wondering if there is a plugin that I can install that will give me a "message field" that I can write in each time. Any ideas?

    Thanks

  2. clarke1866
    Member
    Posted 9 years ago #

    This wouldn't be too hard to do with a little php in your template

    $var1 = date1;
    $var2 = date2;
    echo "The current contest theme is ".$var1.". It will end on".$var2.".";

    Just change the date variables as need be.

Topic Closed

This topic has been closed to new replies.

About this Topic