Adapt the “remove max width in admin” for bbPress
-
Hello,
i want to add at bbPress the 100% width in admin, like this plugin for wordpress:
So, the code is:
add_filter('tiny_mce_before_init', 'rmw_tinymce');
function rmw_tinymce($init){
$init = true;
return $init;
}
add_action(‘admin_head’,’rmw_head’,99); //Hook late after all css has been done
function rmw_head(){
global $is_IE; ?>
<style type=”text/css” media=”all”>
.wrap,
.updated,
.error,
.widefat,
#the-comment-list td.comment {
max-width: none !important;
}
<?php if( $is_IE ){ ?>
* html #wpbody {
_width: 99.9% !important;
}
<?php } ?>
</style>
<?php } ?>
but not works for bbPress… what can i do for the plugin works?
bye
- You must be logged in to reply to this topic.