Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Strange Request

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27091

    Hi Folks. I’m a first time poster here on the forums.

    I just am wondering if its possible to do what i’m trying to do.

    I am designing a website for my World of Warcraft guild. and I would like to set something up so that on every wednesday the 404 page has a different layout than the rest of the days. the reason for this is we have this running guild joke called "Blame Ciandros day" which one of the members came up with ages ago and its just stuck, where every wednesday, everything that goes wrong gets blamed on a particular character in teh guild (Ciandros). so I am wanting to create a unique 404 page that makes reference to this joke every wednesday. I am not sure if this is possible (short of manually changing it every wednesday which I don’t want to have to do) so any advice would be helpful. thanks :)

    #67644
    webass
    Member

    actually its possible.

    what is your CMS?

    #67651
    AshtonSanders
    Participant

    If you’re using PHP, you can make a simple if statement like this:

    Code:

    ***404 ERROR CODE TO SPIT OUT ON WEDNESDAY ***

    ***404 ERROR CODE TO SPIT OUT ON EVERY OTHER DAY***
    #67758

    Thanks for your responses guys.
    I am using wordpress. so i’m guessing the PHP technique would work. thanks :)

    #67759
    AshtonSanders
    Participant

    Yep. just in case you aren’t:
    You should have the 404.php page in your theme folder, and should add the code to that file. (Create it if its not there.) ;)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.