Pass $name to get_header()
-
How can I dynamically pass $name argument in get_header($name) from functions.php?
I want to dynamically change the $name argument instead of manually changing it to get_header(foo) to load header-foo.php.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Pass $name to get_header()’ is closed to new replies.