Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dhewer

    (@dhewer)

    Nevermind, I figured it out.

    In case anyone else is confused:
    Edit the accordion menu
    At the top, under Basic Parameters, Type [WordPress], click the Configure button.

    Thread Starter dhewer

    (@dhewer)

    Okay I was eventually able to fix the problem of the img tab being stripped by adding the following to my child theme’s functions.php file:

    global $allowedtags;
    $allowedtags['img'] = array(
    	'alt' => array (),
    	'align' => array (),
    	'border' => array (),
    	'class' => array (),
    	'height' => array (),
    	'hspace' => array (),
    	'longdesc' => array (),
    	'vspace' => array (),
    	'src' => array (),
    	'style' => array (),
    	'width' => array (),
    );

    Now the only remaining issue is that when users try to upload an image via the “Upload Files” tab using the “Select Images” button, the upload always fails with an error message: “An error occurred in the upload. Please try again later.” However, uploading the same file in the same way from the Add New Post screen works without any errors. So the problem is not a permissions issue or a file storage issue or something like that, it seems to be something to do with the embedded TinyMCE for the comments?

    Any ideas/help would be appreciated. This is in WP4.0.1. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)