I am just curious about this and find nothing with Google :(
I am just curious about this and find nothing with Google :(
http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page
http://phpxref.com/xref/wordpress/_functions/is_single.html
is a function:
http://phpxref.com/xref/wordpress/wp-includes/query.php.source.html#l260
http://phpxref.com/xref/wordpress/_functions/is_singular.html lloks like a variable:
http://phpxref.com/xref/wordpress/wp-includes/query.php.source.html#l402
is_single() returns true if any single post is being displayed is_singular() returns true when any page, attachment, or single post is being displayed. I figured this out from searching the codex and a little of my own testing.
This topic has been closed to new replies.