Just running a soft-rejected theme through the theme check plugin and seen a new issue I had not noticed before…
REQUIRED: Zip file found. Plugins are not allowed in themes. The zip file found was plugin-name.zip.
This particular plugin was written from the ground up and is bundled with the theme in an “assets” folder so TGMPA can find it. What are the best practices for including theme-specific plugins?
do you have the themeforest check plugin added as well as it should hide that line, but you should be fine (reviewers should ignore it) as it’s needed to add plugins to a theme (without uploading the zip file to a server, which would be against the themeforest license)
I haven’t been using the Themeforest Check plugin lately as I’ve been trying to eliminate as many theme check errors as possible (actually this is the only one left I need to get rid of! ).
I just wondered if there was a better practice for this, I was thinking maybe a Github repo or something like that
Themeforest check adds extra checks to the theme check plugin, so you install both at the same point, and it will give you a better idea of what is needed.
I don’t think you can as you would be distributing the items which you don’t have the rights too, so no but check with envato support.
I added the Themeforest plugin on top of theme-check, activated it, ran theme check and it still didn’t remove the REQUIRED: Zip file found. Plugins are not allowed in themes. The zip file found was plugin-name.zip.
What else do I need to do to get my green light
Thanks!
Upload the zip files on your server and add link inside of the TGMA plug-in. It will solve the problem.
Thou, I got a soft-rejected message few days ago for a new theme but they didn’t mention any “ZIP” issue.
Don’t even bother with Themeforest-check, that isn’t valid anymore since ages. Now you’re required to fix all ‘regular’ theme-check requirements and warnings.