NOTE: These instructions were written for Wordpress version 1.2.2.
There are a number of published ways to add custom pages to your Wordpress web site such as the EZStatic plugin. I am simply displaying the solution I came up with.
- Open your index.php file for editing.
- Locate
<div id="content"> - Add the following snippet of code below
<div id="content">:
<?php
if (isset($_GET['p'])) {
$bt_custom_page = false;
$bt_page = $_GET['p'];
if (
preg_match(
‘/^(about|documents|projects|contact)$/i’, $bt_page) > 0) {
if ((include ‘bt_’ . $bt_page . ‘.inc.php’) !== false) {
$bt_custom_page = true;
}
}
}
if (!$bt_custom_page) {
?>
- Locate
<div id="menu">and notice the</div>just above it. - Add the following snippet of code above that
</div>:
<?php } ?>
<div class="post">
<h3>About</h3>
<p>Write your content here.</p>
</div>
- Now direct your browser to your Wordpress web site and append
?p=aboutto the address e.g. http://www.yourwebsite.com/index.php?p=about - Add links to these custom pages by using the Wordpress link manager
- You can add more custom pages by modifying the list of pages
about|documents|projects|contactin the first snippet of code that you added to your index.php file
Please let me know if any of the instructions above are unclear by commenting on this post. I will attempt to clarify any ambiguity.

John
Or you can install WordPress 1.5 and use the create page feature. Version 1.5 is still in alpha but it works perfectly for me.
January 10th, 2005 at 9:16pm
Brad Touesnard
Thanks for the heads up John. I’m looking forward to the new features in future versions of Wordpress.
January 11th, 2005 at 1:07pm
Joseph
I like this better than the “create page” feature because then you can use your page list for something else.
January 3rd, 2008 at 8:11pm
intex pool sprayer
epmkawr
November 20th, 2008 at 1:47am
Leave a comment