1. Home
  2. Wordpress
  3. Is single
#wordpress#php#template

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

if ( is_single() ) {
    echo "Single post";
}
copy
Full Wordpress cheatsheet
Sitemap Git repository