bbPress Support Forums › Troubleshooting › [resolved] Get rid of "New Topic in this Forum" when listing Subforums
Info
- 1 post
- 1 voice
- Started 2 years ago by starship trooper
- This topic is not a support question
[resolved] Get rid of "New Topic in this Forum" when listing Subforums
-
- Posted 2 years ago #
Change
template-functions.phpas described below:function post_form( $h2 = '' ) { global $page, $topic, $forum; $add = topic_pages_add(); if ( empty($h2) && false !== $h2 ) { if ( is_topic() ) $h2 = __('Reply'); elseif ( is_forum() && !bb_forums( $forum_id )) // <== Change here $h2 = __('New Topic in this Forum'); elseif ( is_bb_tag() || is_front() ) $h2 = __('Add New Topic'); } ...It's a pity that I had to change a core file. Maybe somebody else could contribute a better solution?
-
You must log in to post.