• Hi everyone…
    I am trying to create a new website using wordpress that contains a splash page. I’ve read the best way of doing this is to just go to options>reading and set one of the pages as my home(static) page. The only problem is, I don’t want the header, sidebar, and footer included on the splash page. I want my splash page to be set up as having a disclaimer and a link to my content where the reader can choose to enter the site or not. Any suggestions on how to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just put it in index.php. You have to install WP in a subdirectory otherwise the user returns to splash when he returns to home…

    Thread Starter geekgirl

    (@geekgirl)

    Could you be a bit more specific please? What do I put in index.php? i tried just adding in something like “<img src=”https://mysite.com/image.jpg>&#8221; but nothing showed on my index page, I must not be coding something right..

    You can add som code that will display a splash page in the beginning of index.php in the root.

    Set a cookie if the visitor enters the site and it will not be displayed anymore.

    Try this just after the beginning < ? php

    if (!isset($_COOKIE[‘disclaimer’]))
    {
    include(“/path/to/my/page.php”);
    exit;
    }

    let me know if you want further help..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘splash page?’ is closed to new replies.