Skip to content

Commit

Permalink
always display post/page comments' titles - fixes #123
Browse files Browse the repository at this point in the history
  • Loading branch information
timelsass committed Aug 19, 2019
1 parent ad00893 commit dbb8f67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/includes/class-boldgrid-framework-title.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ public function show_title( $title, $id ) {
return $title;
}

// Comments should display title regardless of post/page title being hidden.
if ( doing_action( 'boldgrid_comments' ) ) {
return $title;
}

/*
* The the_title filter is ran quite often. For example, when displaying nav menus, this filter
* is ran and can change a page's title in the nav. We're only interested in adjusting the
Expand Down

0 comments on commit dbb8f67

Please sign in to comment.