- This topic has 1 reply, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Travel Eye Pro › Landing Page
Tagged: landing page
I would like the possibility to create a Landing Page without the main navigation. I have tried after creating a child theme adding a landingpage.php but as there are no page layout options cant work out how to use it.
Hello @Jenn_0014,
If you want to display a custom page as your landing page you can do it with child theme creation.
You have mentioned that you tried creating child theme and setting up “landingpage.php”, the method wont work as the page wont be recognized as the landing page template by default by WordPress.
To be able to use the template you will need to put in the code below in the top of your page template to define it as a page template in WordPress :
<?php
/**
* Template Name: Landing Page
*
*/
?>
You can now choose your defined page template for your Current Home page under page edit screen > Page Attributes > Template.
For further reference on using page templates see the link here : https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
Hope this Helps,
Best Regards !!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |