Been searching a lot for how to call a function in header.php where the function is in functions.php.
How do I solve this?
I have my function in functions.php like this:
function testFunction()
{
echo "This is a test";
}
1 Answer
Simple! just call it testFunction();
wherever you want between php tags.
But not a wp question