Custom Page Help
-
I have created a custom theme and used it multiple times as a single landing page using home.php as the landing page. Works fine no issues.
Now I’m trying to add a second page with it’s own page template and something is not working correctly. I’ve created another page template and called it sedation.php. I’ve edited the template name in the sedation.php file. The page shows up in my templates in the dropdown list of the dashboard – all good.
If the page is still in the “draft” mode and you view it and you can see it perfectly but once I “publish” the page then I get a page error.
I’m guessing I am missing some code relevant to pages somewhere in my theme but I’ve researched a looked a can not figure out what it is. Trying to make this site live and can not do it until I get these pages viewable.
Thanks for the help.
- The topic ‘Custom Page Help’ is closed to new replies.