The template tag to check CPTs single page – is_singular. So you can use is_singular('songs')
to check if the current post page is a single page for post type songs
.
The template tag to check CPTs single page – is_singular. So you can use is_singular('songs')
to check if the current post page is a single page for post type songs
.