ndwest12
12-06-2010, 06:49 PM
I'm gonna try to make this as least confusing as I can.
We are working on a site that basically has 3 sections.
Homeowners
Builders/Trades
Associations...
Now I had thought I had this all figured out. But I was wrong. I just ran into a brick wall when I realized that posts sharing the same name will share the same header and I don't want that.
Basically homeowners has one header one color, Builders the other etc.
now i'm using the
<?php
if(is_page('Homeowners')){
echo '
Now i need a way to go if the parent is homeowner then child to inherit it...or at least a way to seperate the pages without have to give them different slugs again.
You can see the examples here
http://ecbiz97.inmotionhosting.com/~feherh5/homeowners
http://ecbiz97.inmotionhosting.com/~feherh5/builders-trades
I hope this makes a little sense...I jsut want the children and grandchildren to look like the parent page in a simple fashion
I dont know if htere is a way to be more specific in the if(is_page('xxx')){, if i can somehow make it reflect more of the slug like homeowners/roofing?
We are working on a site that basically has 3 sections.
Homeowners
Builders/Trades
Associations...
Now I had thought I had this all figured out. But I was wrong. I just ran into a brick wall when I realized that posts sharing the same name will share the same header and I don't want that.
Basically homeowners has one header one color, Builders the other etc.
now i'm using the
<?php
if(is_page('Homeowners')){
echo '
Now i need a way to go if the parent is homeowner then child to inherit it...or at least a way to seperate the pages without have to give them different slugs again.
You can see the examples here
http://ecbiz97.inmotionhosting.com/~feherh5/homeowners
http://ecbiz97.inmotionhosting.com/~feherh5/builders-trades
I hope this makes a little sense...I jsut want the children and grandchildren to look like the parent page in a simple fashion
I dont know if htere is a way to be more specific in the if(is_page('xxx')){, if i can somehow make it reflect more of the slug like homeowners/roofing?