1. Home
  2. Wordpress
  3. Is page template

Check if page is using a template.

#wordpress#php#template
if ( is_page_template( 'about.php' ) ) {
    print "This page is using About template";
}
copy
Full Wordpress cheatsheet
NordVPN NordVPN