Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to: allow headings in post

  • @julienbechade

    Member

    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…

Viewing 4 replies - 1 through 4 (of 4 total)
  • @finalwebsites

    Participant

    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

    @gautam2011

    Member

    You can use the HTML Purifier plugin and allow any other tag also:

    http://urbangiraffe.com/plugins/html-purified/ (Download the bbPress one)

    @finalwebsites

    Participant

    Great, thanks for sharing this resource!

    @julienbechade

    Member

    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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar