Hi guys,
I noticed that a couple pages, such as author and add listing, don’t have the “entry-title fn” class for the page title inside another div called “entry-header”. I’m using Avada and the title of these pages are not being recognized in the Page Title Bar.
I found that those same pages don’t have the $class_header in their respective functions in geodirectory_template_actions.php so I added them (ex. shown below) but it’s not working. I know I shouldn’t modify this file; I’m just testing for now. Once I get it to work I’ll remove/add action to the child function file.
From this:
$class = apply_filters( 'geodir_page_title_class', 'entry-title fn' );
echo '<h1 class="'.$class.'">'.get_the_title().'</h1>';
To this:
$class = apply_filters( 'geodir_page_title_class', 'entry-title fn' );
$class_header = apply_filters( 'geodir_page_title_header_class', 'entry-header' );
echo '<header class="'.$class_header.'"><h1 class="'.$class.'">'.get_the_title().'</h1></header>';
Any tips on doing this the right way?
Thanks so much!!!