Hydrogen Renamer

TL;DR: This script will help you rename the Gantry 5 Hydrogen theme as a starting point for further cus­tomiza­tions.

Recently, I've been trying out the Gantry 5 - a theme framework for Wordpress. One way to get started with theme de­vel­op­ment using Gantry 5 is to take the default theme, called Hydrogen, rename it and customize it to one's needs.

The whole renaming process is described here. It takes few steps, which involve unzipping the theme, changing names of files and di­rec­to­ries and doing a find and replace for the word "hydrogen" written in few com­bi­na­tions of uppercase and lowercase letters.

I thought that the whole process could be easily automated with a simple Python script that would repack the theme on the fly while doing all the necessary string sub­sti­tu­tions in file contents as well as in the paths.

The script is available here on Github. I hope that it will be useful for people willing to develop themes using Gantry 5 framework.

Hello World! » « BuiltWith lookup script