WordPress.org

Ready to get started?Download WordPress

Forums

What is the difference between "is_singular()" and "is_single()" ? (3 posts)

  1. Aw Guo
    Member
    Posted 5 years ago #

    I am just curious about this and find nothing with Google :(

  2. WebDev WaxLotus LLC
    Member
    Posted 5 years ago #

  3. dell80
    Member
    Posted 4 years ago #

    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.


    http://codex.wordpress.org/Function_Reference/is_single

    http://codex.wordpress.org/Function_Reference/is_singular

Topic Closed

This topic has been closed to new replies.

About this Topic