Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: subforums and markup


_ck_
Participant

@_ck_

If you are trying to use <b> instead of “strong” it won’t work because it’s not the “leet” xhtml standard that bbpress wants to enforce. But you can trick bbpress to allow it with this tweak:

function allow_extra_tags( $tags ) {
$tags['del'] = array();
$tags['strike'] = array();
$tags['s'] = array();
$tags['b'] = array();
$tags['i'] = array();
$tags['u'] = array();
$tags['bq'] = array();
$tags['blockquote'] = array();
$tags['pre'] = array();
$tags['hr'] = array();
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_extra_tags' );

note as you can see I allow other tags too

Skip to toolbar