Custom Page Type Help
Permalink
I could use a little help with this one.
Basically i've created the default.php page, and everything is working great. Now i want to add an interior page that is basically a copy of the default.php, but has no slider bar.
I have the file right_sidebar.php inside my root directory along with my default.php. I go to Page Types » Add a Page Type, then i use right_sidebar as my name and my handle. I then assign the new pagetype, but all I see is the home template. So nothing happens?
What am I doing wrong?
Thanks,
Levi
Basically i've created the default.php page, and everything is working great. Now i want to add an interior page that is basically a copy of the default.php, but has no slider bar.
I have the file right_sidebar.php inside my root directory along with my default.php. I go to Page Types » Add a Page Type, then i use right_sidebar as my name and my handle. I then assign the new pagetype, but all I see is the home template. So nothing happens?
What am I doing wrong?
Thanks,
Levi
Yes, that is what i mean by my root, they are both inside the theme folder.
Bear in mind when you create a new page type, some changes only operate to new pages. try add a new page with newly addes page type and see what happens.
That was it.
Thanks
Thanks
But changes to the PHP on a Page Type file effect old pages as well as new ones so for example if you add an editable area to your right_sidebar.php file, it will be available to old pages when you put that old page into edit mode.
Is that what you mean by 'root directory'>