Forum Replies Created
-
In reply to: Headers displaying incorrectly
<?php /** * bbpress file to emulate page.html to display forums * * */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } block_template_part('header-small-dark'); wp_head(); while ( have_posts() ) : the_post(); ?> <div class="bbpress-container bsp-fse-container"> <div class="bbpress-content"> <?php the_content(); ?> </div> </div> <?php endwhile; ?>
The only modifications I made were to remove the calling of the footer and adjusted the header to a variant that I created called “header-small-dark”. Oh, and also removed the call for the page title.
In reply to: Headers displaying incorrectlyI’ve managed to cobble together a solution. Essentially bbp-style-pack was selecting its own “bbpress.php” file instead of whichever was put into the theme folder. Essentially it just meant I had to edit the “bbpress.php” file at “wp-content/plugins/bbp-style-pack/templates” instead of creating one in my themes folder.
Secondly, it seems the visual issues were caused by using the Greenshift plugin, the styling of which was not recognised by bb-style-pack. This is understandable and no-ones fault but my own for assuming that they would be compatible. Instead I created a new header using just standard Gutenberg blocks and styling which worked fine, just had to add a custom font and some padding to the content.
In reply to: Headers displaying incorrectlyI did this initially as I activated the FSE fix first, then when that didn’t work I created a bbpress.php. I may try creating a new header that is a bit simpler specifically for forum pages if integration isn’t well supported.