get_header() arguments?
-
Is it possible to pass arguments to my header.php using the get_header() function?
Here’s why I ask. I’m having a devil of a time trying to make sure my highlighted navigation menu knows when I have a post showing from a certain category. (e.g. Perhaps I want my menu to highlight ‘FLASH’ if I have a post that is of the category ‘Flash’) To complete this seemingly monumental and insane task, that it looks like I’m the first person anywhere in the history of the world to want to do, I have a way to do it if I can pass a variable to my header.php from my single.php.
Ideas?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_header() arguments?’ is closed to new replies.