Passing a variable to a function that calls "wp_head"
-
Hello everyone,
I’m working on a theme based on Twentyfourteen. I’m working on a hack to show a different background when a “featured post” in action “wp_head” declared my file functions.php.
I’ve tried a thousand different options. Passing a variable to the function that called the “wp_head” (which passed the variable twice) or adding a filter, but it still fails. This I have tried in the “content-featured-post.php” file.
I’m a little desperate and I do not get a solution. Could you give me some idea?
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Passing a variable to a function that calls "wp_head"’ is closed to new replies.