• Resolved alternc0

    (@alternc0)


    I have built a site that has navigation bars at the top and bottom. When I click one of the links in either of the bars, I want a new php page to display in WordPress. I can’t seem to locate any support blogs that give a clear example of how to do this. The site is called https://www.AlternativeConsumer.com. What I am looking to do is:

    There is a link in the bottom nav bar called “Terms of Use”. I copied the page.php to a new page and named it termsofuse.php. I placed the code:

    <?php
    /*
    Template Name: termsofuse
    */
    ?>

    at the top of this page.

    What do I specify in the anchor behind the Terms of Use link to get this page to display? And please don’t recommend PermaLinks. I’m confused enough right now and am just looking for some simple code to get it to work quickly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I don’t know what is in your termofuse.php – but whenever you want to have a Page to use a specific template of yours… while creating a new Page in Write > Write Page admin subpanel you need to select that template from the Templates dropdown.

    Thread Starter alternc0

    (@alternc0)

    I am not using the admin subpanel. I am creating the pages in a text editor and uploading them to the site.

    Then those are NOT Page templates and you are not creating “Pages” in WP, which means you don’t need those lines at the top, and you should make them full html files (with all the necessary html, head, body etc. tags).

    Thread Starter alternc0

    (@alternc0)

    Thanks. That’s probably why I can’t find a diffinative answer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sub pages’ is closed to new replies.