Dynamic ID for <body> and subpages
-
Hi,
i want setup in my header.php a different values for the tag <body>.
Example:
<body id=”services”>I’ve already tested this with get_query_var(‘name’) and it works fine.
But my problem is when a page (in my case services) has a child page: in this case i don’t want display subpage name (eg hosting) but the parent page name (services).Any ideas?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Dynamic ID for <body> and subpages’ is closed to new replies.