Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rickdan

    (@rickdan)

    No one? I’ve done lot’s of googling and can’t find he answer… ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    $withcomments will be set to 1 if the post has comments. $single is a lot like is_single(), I think. Not certain there.

    Most of those globals are not really used much. Better to use the function equivalents.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What are the WP global variables $withcomments and $single used for?’ is closed to new replies.