How can I make a splash page for a Wordpress site?
March 14, 2009 5:46 PM Subscribe
What's the best, cleanest way to make a roadblock/splashpage for a Wordpress site?
We're getting ready to enter a fundraising period, and we want a splash page to appear on our site for a few weeks - some basic HTML, with one link to "pledge here" and another link to "I've already pledged, take me to the site." The latter of the two links should go to our wordpress site, which is at the root of our domain.
We need it to be cookie-based, so that people only see the splash page once per day - subsequent visits on the same day go directly to the site. We also need it to live outside of Wordpress, so that we can have complete HTML control over how it looks.
This is probably pretty simple, but I've not messed with cookies much before ... can you help?
We're getting ready to enter a fundraising period, and we want a splash page to appear on our site for a few weeks - some basic HTML, with one link to "pledge here" and another link to "I've already pledged, take me to the site." The latter of the two links should go to our wordpress site, which is at the root of our domain.
We need it to be cookie-based, so that people only see the splash page once per day - subsequent visits on the same day go directly to the site. We also need it to live outside of Wordpress, so that we can have complete HTML control over how it looks.
This is probably pretty simple, but I've not messed with cookies much before ... can you help?
best to do it with a plugin - you don't wanna mess with code if you don't have to
try this or this
posted by Davaal at 9:06 AM on March 15, 2009
try this or this
posted by Davaal at 9:06 AM on March 15, 2009
This thread is closed to new comments.
Personally, I wouldn't do this as a splash page (I probably wouldn't do it at all, but that's neither here nor there). I'd do it as a bit of Javascript that checks the cookie and then puts an absolutely positioned DIV over the majority of the page if the cookie isn't found.
If this isn't something you already know how to do, though, you might be best seeing if you can find someone to do it for you for relatively cheap.
posted by toomuchpete at 6:03 PM on March 14, 2009