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(); ?>
- The topic ‘Static page’ is closed to new replies.