WordPress.org

Ready to get started?Download WordPress

Forums

Code checking for page vs post (1 post)

  1. crowja
    Member
    Posted 6 years ago #

    In index.php, what is the code I would use to check whether it's a post or a page being displayed?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags