BBPress Page Titles

I am working in Pro using Cornerstone. I would like each individual forum name in BBPress to appear as the title at the top the dynamically generated pages to avoid confusion as to which forum my members are in. When I use the “parent forum” button, it puts me to the right page but with no page title it’s hard to tell which forum it is.

See my website details in the private notes section. Thanks.

Hi there,

Thanks for writing in.

Would you mind providing a sample URL? The parent forum already has the title, example Create New Topic in “Private: Crisis Hotline Forum”. Do you just wish to remove Create New Topic words? Or move it above?

Thanks!

http://staging.truesacredunion.com/forums/forum/tsu-basic-support-forum/artistic-expression-forum/

I would like to have a page title that has the forum name. Not change anything on the page. Can’t we just change the php template and add something that grabs the forum title at the top.

Here is another example: http://staging.truesacredunion.com/forums/

There should be something at the top that says TSU Forum. This is one main forum. No title. There are two different forums…

This page demonstrates how there is title (and text) which tells the forum: http://staging.truesacredunion.com/forums/basic-support-forum/

Here is another level down:
http://staging.truesacredunion.com/forums/basic-support-forum/artistic-expression-forum/

In other words, I will manually create different forums for different areas of conversation and they should have a title at the top.

Also it would be great to have a link back to the main forum page at the top of each post…

Hi there,

Thank you for the clarification. You are using the Renew stack which you can see in the Pro > Launch > Theme Options:

The Renew stack does not have the Title functionality of the forum. If you change the stack for example to Integrity you will see the title which you are looking for:

Implementation of the feature for the Renew stack is considered as a custom development and outside of our support scope. We will give you a head start on how to implement the feature, but the actual implementation and maintenance of the code for the future updates will be on your shoulders.

Kindly create the folder hierarchy below in your Child Theme:

wp-content/themes/pro-child/framework/views/renew/

Add a file called wp-bbpress.php in the newly created folder and paste the code below inside:

<?php

// =============================================================================
// VIEWS/RENEW/WP-BBPRESS.PHP
// -----------------------------------------------------------------------------
// bbPress output for Renew.
// =============================================================================

?>

<?php get_header(); ?>

  <div class="x-container max width offset">
    <div class="<?php x_main_content_class(); ?>" role="main">
		<?php x_get_view( 'renew', '_content', 'post-header' ); ?>
      <?php while ( have_posts() ) : the_post(); ?>
        <?php x_get_view( 'global', '_content', 'bbpress' ); ?>
      <?php endwhile; ?>

    </div>

    <?php get_sidebar(); ?>

  </div>

<?php get_footer(); ?>

The <?php x_get_view( 'renew', '_content', 'post-header' ); ?> portion of the code is how you add the title to the Renew view.

But you will also need to hide the Meta information. To do so you need to add the CSS code below to Pro > Launch > Theme Options > CSS:

body.bbpress .p-meta {
    display: none;
}

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.