Hi
I would like to show the page title only when using the default (page.php) template. For other page templates used in the site the title should be hidden.
I created this conditional in the content-page.php file but it is not working this code below hides the title for all page templates.
if (is_page_template('page.php')){
the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' );
}
Thanks David, but there is no option to work with page templates in the layout element.
Would you know what would be the way to make it work with the condition?