I have the same issue. I created a child theme, and no matter what I do to the child page (i.e., “page-header.php” — simply commenting out the H1 header, for example, doesn’t work. HELP.
In the child directory “virtue-child” I have 3 files.
functions.php
<?php
add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_styles’ );
function enqueue_parent_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
}
?>
style.css
/*
Theme Name: Virtue Child
Theme URI: https://crhmaui.com/virtue-child/
Description: Child
Author: Virtue
Author URI:
Template: virtue
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: virtue-child
*/
and page-header.php
<div class=”page-header”>
<h1>
<?php //echo kadence_title();// ?>
</h1>
<?php global $post;
if(is_page()) {$bsub = get_post_meta( $post->ID, ‘_kad_subtitle’, true ); if($bsub != ”) echo ‘<p class=”subtitle”> ‘.__($bsub).’ </p>’; }
else if(is_category()) { echo ‘<p class=”subtitle”>’.__(category_description()).’ </p>’;}
?>
</div>
The headline still appears…