Whew .. okay … deep breath. Thanks! Worked like a charm. I still don’t know why I can’t get the “about” page to work per the instructions at
https://www.chrisjdavis.org/university/wp-cms/
The author say to “add the following code” to index.php just before <!DOCTYPE … and then the top of the page should look as follows:
<?php
$cat=”-9″;
require(‘./wp-blog-header.php’);
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”
“https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”eng”>
<head profile=”https://gmpg.org/xfn/1″>
This theoretically tells WP to ignore category 3 (which in this case I designated as the “about” category).
When I did this, I used the index.php from my theme rather than the wp-admin directory’s index.php or the root index.php.
Author then says to open index.php again, retitle it about.php and change the first few lines as follws:
<?php
$blog = 1;
$cat=”3″;
require(‘./wp-blog-header.php’);
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”
“https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”eng”>
<head profile=”https://gmpg.org/xfn/1″>
Sooooo .. did that. Uploaded about.php in the root directory with the root index.php (I installed WP in the root directory) and can link to it just fine but it doesn’t show any posts. Then the posts I put in category 3 (about) which are supposed to be hidden from the main page and only appear on the “about” page ….. aren’t hidden.
Any thoughts? Thanks!
Save as about.php. Now can log into wp-admin area and create as many entries as you would like for the colophon/about page, and they will magically appear on colophon.php but never show up on index.php. Do this for each of your other pages changing the $cat=”(n)”; to match whichever category you are wanting to echo out on that page.