Static page (2 posts)

  1. mrlollige
    Posted 4 years ago #

    Hi guys
    I want to create a static page with a slightly different template as the rest of my site. The most important is that it features the same menu, so that you can browse to the rest of the site from this page.

    I don't know how it should be done, but what I did was: I copied the head.php file from my template, I copied the page.php file from my template, removed the loop and added my test content.
    I uploaded this file (testpage.php) to my root folder, and obviously it was not working. None of the WP-functions can be called.. What file should I include to be able to use wp functions such as

    <?php wp_head(); ?>

    Full page here:
    [Code moderated as per the Forum Rules. Please use the pastebin]


  2. emke
    Posted 4 years ago #

    Hi Daniel,

    you should read up on WP theme development - http://codex.wordpress.org/Theme_Development

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic