Home » » Splash Page for wordpress

Splash Page for wordpress

Splash Page for Wordpress.

Blogspotinfo.com provides PHP script code for splash page for wordpress.This javascript code can be used to develop splash page for wordpress.

Splash Page for wordpress
Splash Page for wordpress


PHPscript for WORDPRESS splash page

<?php if ((strpos($_SERVER['HTTP_REFERER'], get_bloginfo('home'))===false)&&!$_SERVER['QUERY_STRING']):?>
<html>
<head>
<title>Splash Page</title>
</head>
<body>
<h1><a href="http://www.yourwebsite.com">Enter</a></h1>
</body>
</html>
<?php else?>
<html>
<head>
<title>Main Page</title>
</head>
<body>
<h1>Welcome to the main page</h1>
<h2>By the way Alan is a total ledge!</h2>
</body>
</html>
Put before the else statementi the following code:
<html>
<head>
<title>Splash Page</title>
<head>
<body>
<h1><a href="http://www.yourwebsite.com">Enter</h1>
</body>
</html>
output splash page. after the else statement the following code:
<html>
<head>
<title>Main Page</title>
</head>
<body>
<h1>Welcome to the main page</h1>
<h2>By the way Alan is a total ledge!</h2>
</body>
</html>



1 comments :

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS