[Resolved] Pages will not display
Don’t have the basics of pages down yet… for instance I noticed it does not matter what url I put in my browser including imaginary pages for http://kobidomassage.com/?page_id= and after the = sign I can write anything, and the server will serve me the home page. Why would I not get a 404 for imaginary pages?
This is probably the same reason I cannot get my pages I have linked to templates to display. When I call a page I have actually prepared and linked to a template, I still get the home page, that’s the only page that wordpress is giving me now. (yes I have saved and published the prepared pages.)
The code I put at the top of the example page I listed above is:
<?php /* Template Name: schedule */ ?> <?php get_header(); ?> <div id="content"> <?php query_posts('pagename=schedule'); ?>
Schedule is the name of the page I prepared and linked to this “schedule” template. Anything obvious I’m missing here?
- The topic ‘[Resolved] Pages will not display’ is closed to new replies.