Packaging and Distributing

The last step is compressing all the files into an archive. You should compress your Theme into a .tar.gz (gzip) or .zip (zip) file, with the files and folders inside your Theme in the &quot;root&quot; of the zip file. This means that your archive might have contents similar to:

 index.php index.template.php images/ languages/ style.css theme_info.xml 

Important is that these files are not in a subdirectory inside the archive. You can test this by extracting it to a folder and checking to see if the files are in that folder itself, or in a folder under that folder. After this, you&#039;re done. A little complicated, perhaps, but it&#039;s a lot easier the second time. Good luck!