I will try building a website where every employee his own profile-page.
I know it is possible building custom templates for different pages:
- pagename: name-employee
- php-file: name-employee.php
What i will try to do, so i can use one custom template, for different employees.
For made this using subpages:
Code: Select all
website.com/employee/name1-surname1
website.com/employee/name2-surname2
...
My question: is there a way, with a if..then structure:
IF subpage-in-employee-dir THEN using custom template profile.php
PS: custom templates is a feature i missed a lot in WCMS, hope it's planned in the near future