Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how to add images to content pleaaaaaase answer

@thekmen

Member

sorry, sounds like you have a plugin enabled that uses the allow_images_allowed_tags function & looking at my above post, there is also some unneeded code.

try:

<?php
/*
Plugin Name: My Images
Plugin URI: https://bbpress.org/
Description: Allows <img /> tags to be used in forums.
*/

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

Skip to toolbar