Thread Starter
sijah
(@sijah)
im new wordpress please use simple language
Hi, yes stl files are not allowed by default. Here is what you need to do:
1. Add the following lines inside functions.php file of your theme:
global $wfu_extension_blacklist;
if ( isset($wfu_extension_blacklist["stl"]) ) unset($wfu_extension_blacklist["stl"]);
2. Add stl extension in the shortcode by opening the visual editor of the plugin and setting the following in Allowed File Extensions: *.*, *.stl
Regards
Nickolas
Thread Starter
sijah
(@sijah)
showing this massage when i tried to past above lines in theme function(function.php)
(Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.)
Does functions.php file contains the symbol ?> at the end? If yes, you need to put these 2 lines before this symbol.
Nickolas