Sergio De Falco (@sgr33n)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @sgr33n

    Participant

    My step up, also install/update Gutenberg standalone plugin to the latest version and add this to your own plugin / theme functions.php

    function envireit_bbp_register_forum_post_type( $args ) {
    	$args['show_in_rest'] = true;
    
    	return $args;
    }
    
    add_filter( 'bbp_register_forum_post_type', 'envireit_bbp_register_forum_post_type' );
    
    function envireit_bbp_register_topic_post_type( $args ) {
    	$args['show_in_rest'] = true;
    
    	return $args;
    }
    
    add_filter( 'bbp_register_topic_post_type', 'envireit_bbp_register_topic_post_type' );
    
    function envireit_bbp_register_reply_post_type( $args ) {
    	$args['show_in_rest'] = true;
    
    	return $args;
    }
    
    add_filter( 'bbp_register_reply_post_type', 'envireit_bbp_register_reply_post_type' );

    With this you will be able to build via site builder, your own forums, topics and replies page. Just replace the content loop with the article content block.

Viewing 1 replies (of 1 total)