Find Answers and Get Support › Forums › Cera – Intranet & Community Theme › Compatible Plugins › bbPress › Discussion section on docs disappears with Cera theme
- This topic has 4 replies, 3 voices, and was last updated 5 years ago by
Themosaurusrex.
-
AuthorPosts
-
MargaretParticipant@margaret
- 1 Topics
- 2 Posts
I have set up the site so that users can comment on posts, pages, docs, everything, and manually made sure that the docs were allowing comments to be posted, but when using the Cera theme, the discussion area where users can post comments does not display.
I tested it by switching to the WordPress Twenty Nineteen theme and the discussion section appears, then when I switch back to Cera it disappears again, so it seems to be an incompatibility between BBPress and the Cera theme.
I looked in the theme files but couldn’t find anything that indicated where the problem was.
Can you help me please? We really need this functionality.
Kind regards,
MargaretJune 12, 2020 at 16:49 #13923June 15, 2020 at 17:34 #13992@themosaurusrex- 0 Topics
- 2048 Posts
Hi @margaret,
It looks like BuddyPress Docs does not support themes overriding
buddypress.php
. If you want to learn more about this issue, please read the following discussion:
https://github.com/boonebgorges/buddypress-docs/issues/453You should be able to solve this by adding the following code snippet to your website:
/** * Allowing BP Docs comments for BuddyPress themes. */ add_filter( 'bp_docs_allow_comment_section', '__return_true', 100 );
To add this code snippet to your site, we recommend that you use a the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post:
Please also note that we don’t provide any theme customization. So, you shouldn’t expect other snippets from us unless it’s to fix an issue stemming from our own codebase. We always try our best to help theme users whenever we can and only provide code snippets out of courtesy to prevent them from waiting for the next update.
Regards,
June 15, 2020 at 22:28 #14000MargaretParticipant@margaret- 1 Topics
- 2 Posts
Thank you for providing me with this; however, when I followed your instructions, installing the plugin and adding the code, it created a fatal error (see screenshot). Could you please provide me with a version of the code to make Cera compatible with BP Docs that does not create a fatal error?
Thanks so much!
MargaretJune 16, 2020 at 15:35 #14014 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Discussion section on docs disappears with Cera theme’ is closed to new replies.