Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

NatESkiN on "Passing a variable to a function that calls "wp_head""

$
0
0

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 all articles
Browse latest Browse all 8245

Trending Articles