Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #18021


    A week ago I asked this questions…

    Is there a way that you know of to create a front page to the site. So the user types in the URL and a splash page pops up for 3 seconds then dissolves away and you’re left with the sites normal home page. I have searched everywhere and can’t figure out how to do this. Like this site…

    and got this response…

    A quick google search turned up this: . Its a very simple script but if you aren’t comfortable setting up and creating your own html/css and adding the js it should only take a freelance developer an hour (or less).

    I couldn’t figure it out so I got a computer programmer to help me. He created the code and the image and we cannot figure out where to put it! It is becoming seriously frustrating as all we want is black white splash page with the image on it to then disolve after 4/5 seconds and then for the home page to appear on it.

    Where do I add the HTML code? In the backend? the editor section? do I edit a .php file or create a new one?

    If you could help me with this it would be mush appreciated!

    Thank you,


    This is the code…



    <title> Splash Page!! </title>


    internal style sheet below, you can make it an external one if you like

    <link rel=”stylesheet” type=”text/css” href=”style.css”/>


    <style type=”text/css”>

    body {background-color: #FFFFFF}


    <script type=”text/javascript”>


    function timeout ()


    window.setTimeout(“redirect()”, 4000)


    function redirect()


    window.location=”home.html” // the page you want the user to go to after the splash page times out.




    <body onload=”timeout()”>




    if you want a home button to skip the splash page use this.


    <input type=”button” value=”Home Page” onClick=”redirect()”>






    Tbh I think this solution will not work with the theme very well because it uses a redirection function to display the landing page. The only solution I can think of is to use cookies to decide if a redirection is required or not but I leave this up to your programmer. I’d add the code to header.php and based on the cookie result/value you can decide if you want to load the wp page or the html landing page…

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘CHOICES – Splash Page’ is closed to new replies.