1./wp-content/plugins/bbpress/templates/default/bbpresscontent-single-forum.phpをベースに、テンプレートを適当に改造し、新規ファイルとしてアップする
(例)content-single-forum_uemon_list.php
2./wp-content/plugins/bbpress/includes/common/shortcode.phpに、短縮名を追加する。
(例)'bbp-single-forum_uemon_list' => array( $this, 'display_forum_topic' ),
3.同じshortcode.phpに、先ほどつけた名前の関数を追加する。
(例)public function display_forum_topic(){}
このとき、bbp_get_template_part( 'content', '******' )
のところは、1でつけたファイル名から、content- を省いた部分とする。
(例)bbp_get_template_part( 'content', 'single-forum_uemon_list' );
4.index.phpに、2でつけた短縮名を以下のように記載する
(例)<?php echo do_shortcode('[bbp-single-forum_uemon_list id=23]'); ?>
以上