how to produce a static page with wordpress header and footer? I'm not speaking about static home page only a static page only using wordpress header and footer.
Produce a blank .php file known as whatever inside your theme folder, make the following at top:
<?php /** * Template Name: My very own template! * Description: Look pah! I made a template! */ get_header(); ?> Whatevercontent you want the page to have, could get content from the wp_editor like this: <?php the_content(); ?> <?php get_footer(); ?>
Produce a new page within the admin area, look at your suitable for "Page Characteristics", inside you'll find a "Template" dropdown, chose your personal template here "My own, personal template!" it might be contacted this case.
Since page will load the php code within the template file.
Take a look at whether it helps :