- Joined
- Nov 6, 2014
- Messages
- 402
- Likes
- 217
- Degree
- 1
Guys,
I have problem with adding custom page template to WP theme (this one http://themeforest.net/item/apply-app-agency-wordpress-theme/11639239 )
I can see that template in Page Attributes -> Template , it's there. I can select it as well. Template is called template-nav.php
This is what I see when looking at source code:
Does it look normal?
And here is the code when default template is selected
My goal is to create template with hard coded menu for pages like contact, about etc. In general it's one page theme. Homepage have menu just with anchors to specific content below the menu. So if I click on a separate page like contact for example, menu on that page doesn't fully work.
Normally I could create new template and all was good. This time not really. Or maybe you know some other way to get that menu working right?
I have problem with adding custom page template to WP theme (this one http://themeforest.net/item/apply-app-agency-wordpress-theme/11639239 )
I can see that template in Page Attributes -> Template , it's there. I can select it as well. Template is called template-nav.php
This is what I see when looking at source code:
Code:
<body class="page page-id-2167 page-template page-template-template page-template-template-nav page-template-templatetemplate-nav-php full-width element-round page-load-on wpb-js-composer js-comp-ver-4.5.3 vc_responsive" id="body">
And here is the code when default template is selected
Code:
<body class="page page-id-2165 page-template-default full-width element-round page-load-on wpb-js-composer js-comp-ver-4.5.3 vc_responsive" id="body">
My goal is to create template with hard coded menu for pages like contact, about etc. In general it's one page theme. Homepage have menu just with anchors to specific content below the menu. So if I click on a separate page like contact for example, menu on that page doesn't fully work.
Normally I could create new template and all was good. This time not really. Or maybe you know some other way to get that menu working right?