I'm trying to echo some text in a sidebar if we are displaying a single post. I'm having trouble understandin the is_single() conditional statement.
This is the line that doesn't seem to work:
echo 'this is a single post'
The statement is in sidebar.php. What am I doing wrong? Thanks,