I guess the main question here is the [bbp-topic-form]
not work if you place the shortcode on your main forum/forum archive. This is because the form uses bbp_current_user_can_access_create_topic_form
function to check several condition and the most important you need to know is it ONLY allow the form displayed on single page/forum.
Here’s my simple solution, place it in your functions.php
add_filter( 'bbp_current_user_can_access_create_topic_form', 'custom_bbp_access_topic_form' );
function custom_bbp_access_topic_form( $retval ) {
if ( bbp_is_forum_archive() ) {
$retval = bbp_current_user_can_publish_topics();
}
return $retval;
}
I’m sorry, where is my image? I can’t post an image here?
Here’s the error:
Parse error: syntax error, unexpected T_STRING in bbpress.php on line 949