Bbpress forum title

I’m trying to change the bbpress forum title as it appears on the page h1 and in the breadcrumb nav. I have a filter that works for the breadcrumb nav and I was planning to do a template override for the h1. I thought I found the correct template in the bbpress templates, but I can’t affect any change on the front end. It always says, “Archives: Forums”

<div class="page-header"><h1>Archives: Forums</h1></div>

Want to change it to:

<div class="page-header"><h1>Community Forums</h1></div>

I have this set up as a page called “Community Forums” with the short coded [bbp-forum-index] and permalink community-forums. Within the bbpress settings I have the forum root set up as community-forums.

update: it’s using page-header.blade.php so what’s the best way make it keep the page title instead of the forum archive title? Sorry if this is a really basic question.

update: this works… (in page-header.blade.php, thank you Sage book!!!)

@if (is_post_type_archive( 'forum' ))

Maybe my fumbling around will help someone else.

also here’s the filter for the breadcrumbs:

add_filter('bbp_get_forum_archive_title', function () { return 'Your Forums Archive Title Here'; });

This topic was automatically closed after 42 days. New replies are no longer allowed.