Problems with parent pages and templates
-
im creating a site
wicth have a section and subsections inside
each part has a diferent template, and thats easy
for example, the main page is/services
and a subpage is
/services/service1
but, when i create the subpage (service1) and apply service as a parent
it doesnt show the template im choosing to use
but, if i apply that subpage (service1) without services as a parent page, its working fine, and the template is working greatthe template of the subpage starts with:
<?php
/*
Template Name: Service1
*/
?>any idea of whats happening?
EDIT:
u just fint out something really weird
the problem is not in the template is in the url that wordpress is creating.
for example i just go to the parmalinks options an set the links at the default option like ?p=123 but i want to use a special structure, just like “services/service1” so i go to “custom structure” and apply “/%postname%/”. when i do that, the template stop working, but if i set the permalinks on defaults, its working fineany idea? i suppose that is something on the custom structure
- The topic ‘Problems with parent pages and templates’ is closed to new replies.