I'm attempting to move some code from a plugin over to my theme's functions.php
file, but when I attempt to wrap it in the is_single()
wrapper inside of functions.php, it never fires. What am I missing?
if (is_single()) {
echo "hello world";
}
I can't get the echo to fire from any inside post page.
This has to be something insanely simple I'm overlooking.