Resulting zip file has no name
-
- When using the first option to [Export the activated theme with user changes] the resulting zip file has no name (which should be based on the slug) and is just called “zip” (no name or suffix). This means it will not open and cannot be installed.
- If I rename the downloaded file (ie: just add “test.” before zip resulting in filename of “test.zip”) it will unzip normally and be able to be installed as a theme. Note: I saw previous posts about the “zip file being corrupt” etc and I received that warning too until I renamed the resulting file.
- As a test, Exporting the same current activated theme via Site Editor > uppermost 3 dots (view/tools) > Export (download your theme with updated templates and styles) has the correct filename based on the slug of the theme.
- Interestingly, when I compare the two resulting ZIPs (1 exported with create block theme, the other with site editor > export):
- The create block theme version correctly only exports the files within my activated child theme (which is a child of twenty twenty three for simplicity of testing).
- The site editor > export version includes parts & templates from the parent theme that my child theme does not use (parts: comments, post-meta. templates: archive, blank, blog-alternative, home, single).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Resulting zip file has no name’ is closed to new replies.