• This is actually several related questions, which I am hopeful someone might be able to answer.

    To start, let me just say I am working with a new install, and am currently using a local development system to test stuff out and try and work through the kinks before uploading and going live. The site is: https://www.dcwalkbout.com I have gone ahead and added my on template styling to allow people to take a look at the code …

    First up … 1) Is there are way to create a new page, and have it’s URL be the same as the page, for example https://www.dcwalkbout.com/about.php, instead of –
    https://www.dcwalkbout.com/?page_id=8 ? And is there a way of not having the new Pages section on the sidebar? Probably need to remove a loop for the top portion I guess?

    2) And if you can’t name static pages like the one described above, is there a way to create a “template” that uses the php calls from within WordPress? And where would those pages have to be in the file structure to gain access to those php calls/functions/etc…?
    I mean, would the new php page file need to be in the root directory, or the themes directory?

    It’s kind of hard to describe I guess …

    Thanks ahead of time for anyone up for the challenge…
    -Brian

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Brian,

    This should not be a problem in WP 1.5. There is a static page generator that names the pages like https://www.yoursite.com/about. When you click on the write tab go to create page instead of create post. The other thing you need to do is under options-permalinks you can change the naming convention of the pages on your site to how you want them to look. The page itself gives you examples and instructions on how to tell it what to do.

    Thread Starter azurewolf

    (@azurewolf)

    Thanks for the help folks … clear things right up. I used the permalinks to solve the naming problem and just commented out the sidebar reference to the pages:

    <!– <?php wp_list_pages(‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?> Commented out the pages, since I have a navbar–>

    Cheers!
    -Brian

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New Page Question’ is closed to new replies.