Enable bbPress for Block Themes

설명

Enables bbPress for a full site editing WordPress block theme, fixing WSoD (White Screen of Death).

What problem does it solve?

Do you want to use bbPress plugin, but it does not display on your website?
Do you see WSoD when visiting bbPress forum pages?
Do you want to edit bbPress templates?
Are you using a full site editing WordPress block theme?

If you answered yes to these questions, you’re in luck.

Enable bbPress for Block Themes plugin fixes White Screen of Death for bbPress screens/views when you are using a WordPress block theme.

What the plugin does not do?

  • Plugin does not provide CSS styles for bbPress to look good with your theme.

    Design is very specific thing to each theme. If you want to style your bbPress appearance, use custom CSS code in Styles section of Site Editor, or use other means, such as 3rd party plugins.

    You may especially need to style form fields, buttons and pagination.

  • Plugin does not provide blocks to tweak bbPress views to your liking.

    bbPress plugin contains no blocks you can use to create custom forum layouts (as of February 2025).

    However, in Site Editor you can edit “bbPress content” template. This template is used to display all bbPress content. (If you enable block editor for bbPress post types, you can further edit additional templates.)

Got a question or suggestion?

In case of any question or suggestion regarding this plugin, feel free to ask at support section, or at GitHub repository issues.

스크린샷

  • bbPress forums archive: before and after. Using Twenty Twenty-Five theme.

설치

First you need to install and activate bbPress plugin, and use a block theme, such as Twenty Twenty-Five.

Automatic installation:

  1. Navigate to Plugins Add New Plugin and search for Enable bbPress for Block Themes.
  2. Once the plugin is displayed in the list, click the “Install Now” button, then “Activate” button.

Manual installation:

  1. Download the plugin to your computer.
  2. Then unzip Enable bbPress for Block Themes plugin download file and upload enable-bbp-block-theme folder into the …/wp-content/plugins/ directory on your website server.
  3. Activate the plugin through the Plugins menu in WordPress admin area.

Plugin works immediately after activation.
Additionally, you can enable block editor for bbPress post types in Settings Forums “Block Theme Compatibility” section.

FAQ

How does it work?

First, this plugin works only if:
– you are using a block theme,
– and bbPress plugin is active.

The plugin modifies template hierarchy for bbPress content, adding compatibility with block themes. It also fixes bbPress content display in Post Content block.

Plugin also provides “bbPress content” template you can edit in Site Editor. (Make sure to use Post Content block in the template as bbPress uses it for displaying its views. Even for bbPress archives!)
By default bbPress uses your theme’s Page template to display its content. However, providing this new “bbPress content” template is adding a new layer of flexibility.

It also allows enabling block editor for bbPress post types, for additional modifications to bbPress templates in Site Editor.

bbPress looks ugly, help!

Design is very specific thing to each theme. Please understand this plugin does not provide any CSS styles for bbPress.

If you want to style your bbPress appearance, use custom CSS code in Styles section of Site Editor, or use other means, such as 3rd party plugins.

You may especially need to style form fields, buttons and pagination.

Tip: If you want to make bbPress content different width from the other content on your website, you can either edit “bbPress content” template in Site Editor, or apply this custom CSS: .bbpress { --wp--style--global--content-size: 45rem; }.

Are there any blocks I can use?

No, this plugin does not provide any blocks.

As of February 2025, bbPress plugin does not provide any blocks either, but you can use its shortcodes in Shortcode block.

Can I edit bbPress template?

Yes. The plugin provides dedicated “bbPress content” template in Site Editor.

This template displays all bbPress content and is derived from your theme’s Page template. You can modify it to provide dedicated bbPress views without affecting your pages.

(Make sure to use Post Content block in the template as bbPress uses it for displaying its views. Even for bbPress archives!)

Additionally, after enabling block editor for bbPress post types in Settings Forums “Block Theme Compatibility” section of your WordPress admin, you can modify other bbPress templates in Site Editor.

Where can I find options?

Settings Forums “Block Theme Compatibility” section in your WordPress admin.

In plugin options you can enable block editor for bbPress post types, which allows tweaking bbPress content templates in Site Editor.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Enable bbPress for Block Themes”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Enable bbPress for Block Themes”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Enable bbPress for Block Themes”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

Please see the changelog.md file for details.