WordPress.org

Support

Support » Plugins and Hacks » Code checking for page vs post

Code checking for page vs post

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

  • The topic ‘Code checking for page vs post’ is closed to new replies.