Liam Keane
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Is there a way to search wordpress code?also possible with the Google site: operator and svn
http://www.google.com/#q=site:core.svn.wordpress.org/trunk/Forum: Fixing WordPress
In reply to: Change homepage to non-WP, but keep posts?Ok, so to create a non-WordPress html page as your front page follow these four steps:
1) Open a text editor and create a page like this
<?php /* Template Name: Splash Page */ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Static Front Page</title> <meta name="keywords" content="example, test"> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1>Welcome</h1> <p>Thanks for visiting my site. Here you can check out the latest pictures or you can <a href="archive/">read my blog entries here</a>.</p> <p>Also, make sure to read <a href="2009/01/example-post/">my favorite post</a>.</p> </body> </html>2)Save this page as splash.php and upload it to the folder of the theme you are currently using – example.com/wp-content/themes/sandbox/splash.php
3)Login to WordPress and click “Write”, then “Page”. Write a new page. Title it Home (or anything). In the Page Template field dropdown, select “Splash Page” (or whatever you called the template). Now, press “Publish” (not just save)
4)In the WP admin area, go to ‘Settings’ and then ‘Reading’. Under “Front page displays”, select the radio button that says “A static page”. Then, next to “Front Page”, select the page “Home” (or whatever you titled it).
Now, the root of your site should be just this plain HTML. Go to the front page and view soure to make sure everything looks fine and youre done!