1. Home
  2. Wordpress
  3. Is single

Check if the given page is a single blog post type.

#wordpress#php#template
if ( is_single() ) {
    echo "Single post";
}
copy
Full Wordpress cheatsheet