Bug? Page H1 the_title() does not return title for TEC pages
-
On inspecting the Events page (list view, month view, single event view)the h1 tag for the page is blank.
<h1 class=”entry-title post-title”></h1>
The Responsive Theme just does:
<h1 class=”entry-title post-title”><?php the_title(); ?></h1>However, TEC does not grant it a title, so the H1 field is blank.
WordPress says: the title can be suppressed by returning a falsey value (e.g. NULL, FALSE or the empty string) from the filter function.
I can see TEC’s meta.php does this, but I don’t see a specific add_filter call.
public static function the_title() {
return get_the_title( get_the_ID() );
}I’m not sure of the implication of the above.
Why does TEC not provide a title on a call to the_title()? And how is this corrected?
- The topic ‘Bug? Page H1 the_title() does not return title for TEC pages’ is closed to new replies.