The correct way to load footer-none.php is:
get_footer("none");
Anyway, I think it can be better to use wp_footer()
(required function on any frontend page) directly in the page template file so you don’t need to load any empty footer template (assuming you load all required HTML tags in the page template, for example closing body and html).
If you are going to use the custom footer template in more than one page, then it would be better to maintain a separated custom footer template. It is up to your preference.
Related Posts:
- What does is_page_template() compare against?
- Creating custom blog page template the right way
- How To Create A Paginated List Of All Categories On My Site?
- How to remove all styles for certain page template?
- Simplest way to add a second html editor to the post/page admin?
- How to consolidate multiple static page templates into one dynamic one?
- Loading page content into a variable in template
- Capturing arbitrary semantic URL arguments
- How do I display the text inside the WP editor for a page with a custom template?
- How can I dynamically load another page template to provide an alternate layout of the posts?
- get url page template
- How to remove a parent theme template from Quick Edit?
- How to Set a Custom Template for Blog Posts
- Removing or Restricting Access to Page Templates for Editor Role
- Can I create a page template, use it once, then hide/remove the option to use it again?
- Custom template for each page
- How can I have a static title on my blog page?
- Can you call a template file without assigning template to a page in the admin panel?
- page-slug goes to not found
- How do I add a body class to specific pages?
- How to list all titles of posts on a specific page?
- Programatically switch page template?
- How to create a page template that retrieves content from db?
- Change path of the page’s template
- Get page id of current page from template [duplicate]
- is_page_template returning false
- get_pages — parent vs child_of?
- How to pass outside function to WP_REST_Request
- Excerpts for Pages
- WP-CLI not setting page template with page_template=”template-name.php”
- Register/Get sidebar?
- How to make text show up – new page template
- using the loop with a custom table
- Verify if the current page has at least one published child
- how to remove all body classes in wordpress
- Custom Post Type Archive template page not found
- Add #sidebar-2 to a custom page template
- What is wrong with my page.php?
- wp_redirect goes to infinity loop
- Single page Template for pages that begin with ‘confirmation-‘
- What content to use for inserting images
- Display one post in different formats conditionally
- Custom Page Templates
- get_avatar() as backround image
- get_the_excerpt() inside WP_Query – link URL Incorrect
- Change text size and color for tags and category meta description on product page
- Strip from the_tags() output
- How to make Dynamic Page Template based on Post ID’s
- add_rewrite_rule no longer working – possible https issue?
- Template Tag Does Not Work in Page Template
- Contact template doesnt appear in page template options
- Template Redirect to /2015 to use page template
- Custom page template to sidebar/widget
- How to set custom cookies in WordPress after a form is filled on a page
- Three step order form, how to go to next step
- Proper way to create custom static page
- How to display all child/sub pages from all parent pages?
- RSS feed for a custom page template
- Add featured image as post header background image
- WordPress page template to show posts as per category dynamically
- Blog template with different header to rest of site
- Subpage is redirecting to spam site
- How to integrate custom HTML template in a premium wordpress theme?
- How to load page template according to the Searched Page
- Set page template automatically according to parent slug
- WordPress pass url to page template when page does not exist
- Static page won’t identify template
- page_template filter without a plugin
- How to get template link?
- Add additional templates to the templates drop down on add page menu [duplicate]
- .htaccess help to a beginner
- Single page theme: Can I render other pages with their respective themes within another page?
- WordPress fetches the archive page instead of my custom template
- How to set title from page-template?
- create template for one page
- How do you create a default template?
- Cannot display default template after switching to custom
- A simple form submission but notice : Trying to get property of non-object
- Custom Page Template not working when site moved from subfolder
- change the Theme dynamically
- WordPress & External Page: 404 error in IE and some others
- How can I set full width page layout in a default post page?
- E-Commerce Products Page Sidebar Formatting
- Lead Generation with Cookies in WordPress
- trying to add custom landing page to Twenty Eleven- can’t get rid of Twenty Eleven header/container? [duplicate]
- Show tarifs page with menu a or b depending on menu of origin
- Page (template) with only news of the type “gallery”
- Fetching Image from other post/page with custom type
- How can I make different page templates for one category?
- Getting a custom area in a theme for dynamic content for page
- wordpress header leaks into body in a specific template
- Display child page on parent
- Article Template
- Show page name in browser
- Front end user registration form [closed]
- Animation as shown in the link
- How to show feature image, Title, Breadcrumb before Page in flatsome theme
- How do I update the SEO information on dynamic pages being generated from template_include?
- WordPress Page Slug with URL custom template
- Can wordpress search inside a custom page template?