Problem with static page
-
(i) I have created a page called About Us.
(ii) I wanted to show it as domainname/aboutus.php instead of domainname/?page_id=xxx
(iii) So I created a page called aboutus.php in the same folder as index.php but the content is not showing up.Here is how I have called it:
BEGIN
<?php
require(‘./wp-blog-header.php’);
?>
<?php get_header(); ?>
<!–general site stuff –>
<?php query_posts(‘pagename=aboutus’); ?>
<!–general site stuff –>
<?php get_footer(); ?>END
It is drawing a blank even when I call
<?php query_posts(‘page_id=953’); ?>
All the navigation stuff etc is showing up perfect.What can I be doing wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with static page’ is closed to new replies.