I can't upload a new wordpress theme from a zipped file

I'm having trouble trying to upload a zip file Wordpress theme that I bought from Themeforest. I'm getting an inactive "upload theme" button, I have tried to reinstall the Wordpress theme three times now, but I'm having the same problem. I also tried uploaded the theme through FTP to "content" folder, but this did not solve my problem. This started when I upgraded to Wordpress 4.3.1. I'm I missing something here? please advice.

Topic upgrade plugins themes Wordpress

Category Web


I had the same problem, this link explains how to change your filesize upload limit https://www.digitalocean.com/community/tutorials/how-to-change-your-php-settings-on-ubuntu-14-04

Basically find your php.ini file, and change these two below to 30M

post_max_size = 8M upload_max_filesize = 2M


It is often due to the fact that the zip not only contains the theme but also the documentation, readme, photoshop files, , ... You should uncompress the zip file and extract only the zip of the theme. This is the file that has to be uploaded in wordpress.


I recommend uninstalling all the other themes from THEMES folder and add the zip file using ftp.

Hope this helped you.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.