February 11, 2017 at 10:40 UTC - Views: 104 #19826
I know that we should avoid modifying the functions.php file. Is it possible to allow the upload of an apk file without touching the files “functions.php” ?
For now, I used FileZilla to transfer the file via ftp.
I tried, without success, where in the Weather II management settings I could change the list of allowed file types …
Thank you very much.February 11, 2017 at 17:03 UTC - Views: 22 #32102
Allowed file types is not theme related. The theme has no control over this.
Fiddling with this is something I’ve never done as it is generally considered a security risk to do so. You would have to check other general WordPress forums to see if this is possible.
And if it does require modifying the functions.php file, it is not difficult to create a child theme. There are plenty of articles available on the web on how to do that.February 12, 2017 at 06:16 UTC - Views: 12 #32103
OK Thanks for that answer.
I understand that it is dangerous to place apk files on a WP site. In fact, I created a small app myself (with MIT App Inventor) for Android. It is an app dedicated to the hiker’s trail of my little city. As I am also the administrator of the municipal site, I put this application apk for download on the site.
The description of this application is there: http://www.hermenault.fr/?p=6944October 8, 2017 at 01:13 UTC - Views: 11 #51765
<h2>Manage Upload Types</h2>
Manage Upload Types enables an administrator to see and change the list of file types that are permitted as file uploads to the media library. This is accomplished by adding an ajax-driven table to a panel on the Media Settings page.
It will allow your media file to hold all kinds of EXE files and other WordPress won’t
You must be logged in to reply to this topic.