Anonymous
Unregistered
Posted 1 year ago #
Hi, I've a problem. I'm trying to make a directory listing on my wordpress site. I have the sidebars set-up like I want on the landing page of the directory and wanted to make the headings link to different pages, and display more specific entries.
When I try and set the template as the parent, (so that the header & sidebars stay the same) it just replaces what I typed in the page with the template I selected...
My question is: is there some code that I can put in that'll just grab that'll keep all the sidebars and headers, but allow the page to still show what I actually typed on it? I have 19 different pages to do, so I don't want to add that many .php files and further clutter my theme editor.
Thanks,
bdoelle
php/wordpress newb
When I try and set the template as the parent,
That's nonsense. You can not set a template as parent.
You can set a Page as the parent of another Page.
You can select a template or another for any Page - providing you have more than one Page templates in your theme folder.
Anonymous
Unregistered
Posted 1 year ago #
My bad, I meant I set the page with the header and sidebars I want for it and every page in this directory as it's template. And the template replaces everything.
You didn't make it clearer at all...
Anonymous
Unregistered
Posted 1 year ago #
Is there a way to pick and choose what a page grabs from a template, or is it an all or nothing kind of thing?
Anonymous
Unregistered
Posted 1 year ago #