Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Threaded replies not working

@frendeliko

Participant

Thanks @mudit-kumawat. I would add this, as admin users will still show the admin bar, so with your code we will have two divs with the same id:


// Add adminbar blank div to fix BBPRESS jQuery issue
function add_admin_bar_div() {
  if( is_bbpress() && ! current_user_can('administrator') ){
    echo '<div id="wpadminbar" style="display:none;"></div>';
  }
}
add_action('wp_footer', 'add_admin_bar_div',15); 
Skip to toolbar