gratefulweb (@gratefulweb)

Forum Replies Created

Viewing 1 replies (of 1 total)

  • gratefulweb
    Participant

    @gratefulweb

    This is a super old thread, but I thought I’d post a solution that I used to get by the issue of having to choose a parent forum, when creating a new forum, on the front end of the site.

    In my case I just need to default to “NO PARENT” and will never want a user choosing a parent forum when creating a forum. So…

    First, put a copy of “form-forum.php” into your child theme (childtheme/bbpress/form-forum.php).

    Within form-forum.php, scroll down to the Parent Form label, which has an id of “bbp_forum_parent_id”.

    You can comment out then entire bbp_dropdown function and then add an html input field with same name, id and a value of -1.

    <input type=”hidden” name=”bbp_forum_parent_id” id=”bbp_forum_parent_id” value=”-1″>

    The key part being the value of “-1”

    Hope that helps someone!

Viewing 1 replies (of 1 total)