How to use another layout/theme file for different pages
Posted: Mon Sep 14, 2020 12:15 pm
Hi all, I'm giving wondercms a try after using getsimple for quite some time.
What I'm wondering is how I can create a theme that does the following:
/ = homepage -> users theme.php as its theme file (this works, following the easy 8-step guide online)
/mypage -> this should use a slightly different layout file than the homepage
I can't figure out how I can embed content in different templates. Another explanation would be a simple blog where the homepage looks different from the blog details page.
Thanks for pointing me in the right direction, I hope this is supported somehow.
What I'm wondering is how I can create a theme that does the following:
/ = homepage -> users theme.php as its theme file (this works, following the easy 8-step guide online)
/mypage -> this should use a slightly different layout file than the homepage
I can't figure out how I can embed content in different templates. Another explanation would be a simple blog where the homepage looks different from the blog details page.
Thanks for pointing me in the right direction, I hope this is supported somehow.