Forums

Join
bbPress Support ForumsPimp your PressHow to: allow headings in post

Info

How to: allow headings in post

  1. Hi guys,

    First of all, many thanks for your great work, you've made bbpress THE forum for wordpress & as his big brother, you offered infinite customization possibilities to us, users, developers & webdesigners.

    Ok, that's done, now I can ask my question... ;-)

    I'm using Tinymce, for my users to post, with the advanced theme. The only problem is headings aren't supported by bbpress. What can I do to change that ?

    Thanks for your answers...

  2. By default mage tags are not allowed too.

    create you own plugin and use this code

    function allow_img_tag($tags) {
    	$tags['img'] = array('src' => array(), 'title' => array(), 'alt' => array());
    	return $tags;
    }
    add_filter('bb_allowed_tags', 'allow_img_tag');

    You can the same kind of function for your header elements

  3. You can use the HTML Purifier plugin and allow any other tag also:
    http://urbangiraffe.com/plugins/html-purified/ (Download the bbPress one)

  4. Great, thanks for sharing this resource!

  5. That was fast...!!

    @finalwebsites: I'm using the allow-images plugin. Of course I just have to do the same thing for headings. Much lighter than HTML purifier. Thanks mate.

    @Gautam: Great plugin anyway. Thanks for sharing.

    Cheers.

    And... [resolved]

  6. You must log in to post.