Page template that excludes itself from navigation
-
i need to create a page template that does not include a header or footer.
a couple of questions:
1.) what is the absolute minimum i have to put in a page template?at the moment i have included the following code in this page template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head profile="https://gmpg.org/xfn/11"> charset=<?php bloginfo('charset'); ?>" /> <meta name="distribution" content="global" /> <meta name="robots" content="follow, all" /> <meta name="language" content="en, sv" /> <?php wp_head(); ?> <style type="text/css" media="screen"><!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); --></style>
2.) is there code that would force any page using this template to NOT appear in the site navigation? (i would like to accomplish this without a plugin…
any suggestions or advice?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Page template that excludes itself from navigation’ is closed to new replies.