wordpress how to check is post or page

How to check if the current request is for the post  ?   You can check if the current request is for for post using wordpress function is_singel(). Example is_single( ’17’ ) When Post 17 is being displayed as a single Post. is_single( ‘Irish Stew’ ) When the Post with Title “Irish Stew” is being displayed as a single Post.

Read more