mr18 (@mr18)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • mr18
    Participant

    @mr18

    But … when the theme of the site is updated, everything will disappear again.
    The theme file will lose these functions again.
    And again, the editor on the forum will disappear. It is so?


    mr18
    Participant

    @mr18

    Thank you Robin W, everything is working now!
    I did as you suggested – and it helped!)

    I used:
    add_filter (‘bbp_body_class’, ‘rew_unset_no_js’) ;

    function rew_unset_no_js($classes) {
    if (in_array (‘single-forum’, $classes) || in_array (‘single-topic’, $classes)) {
    if (($key = array_search(‘no-js’, $classes)) !== false) {
    unset($classes[$key]);
    }
    }
    return $classes ;
    }


    mr18
    Participant

    @mr18

    Hey!
    After updating to version 2.6.8, it also stopped working for us visual editor.
    Please solve the problem and return to the forum visual editor.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)