• Resolved kollerb

    (@kollerb)


    Hello,

    i want to upload some files with extensions .html

    i try to put the blacklist extensions away in my functions.php but it is not possible to save it. Are there other possibilities that html files are allowed

    thx

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, you need to put the following code in functions.php file of your theme to remove html extension from blacklist:

    global $wfu_extension_blacklist;
    if ( isset($wfu_extension_blacklist["html"]) ) unset($wfu_extension_blacklist["html"]);

    and also add .html extension in Allowed File Extensions attribute in the shortcode.

    Regards

    Nickolas

    Thread Starter kollerb

    (@kollerb)

    Thanks – i read this often in this Forum – my Problem was the change of the Functions.php – that doesnt work in Editor of WordPress
    Now i have done the change with ftp and it works

    Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upload of html-File not allowed’ is closed to new replies.