Info
- 5 posts
- 3 voices
- Started 2 years ago by julienbechade
- Latest reply from julienbechade
How to: allow headings in post
-
- Posted 2 years ago #
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...
-
- Posted 2 years ago #
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
-
- Posted 2 years ago #
You can use the HTML Purifier plugin and allow any other tag also:
http://urbangiraffe.com/plugins/html-purified/ (Download the bbPress one) -
- Posted 2 years ago #
Great, thanks for sharing this resource!
-
- Posted 2 years ago #
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]
-
You must log in to post.