Custom Page Template without Header & Footer
-
I’m trying to create a custom page template for Accesspress Parallax. I have a child theme & have adjusted the main content width to 100% with custom css.
Now I want a page template without the header and footer. I’ve created a custom page template in my child theme folder by copying the default page.php, changing the name and adding a template name at the top of the file, them removing the call to get_header, get_footer and get_sidebar. When I remove the get_header, nothing shows up on the page anymore.
It’s almost as if the header actually contains info to display the main content also.
I’ve used this method with another theme and it works great. What’s the deal? Is the header of this theme set up incorrectly and actually calling main content components? What can I do to accomplish a custom page template that does not include the header & footer?
Thanks!
- The topic ‘Custom Page Template without Header & Footer’ is closed to new replies.