Skip to content

kmbt/hydrogen-renamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

hydrogen-renamer

Script to change the name of Gantry 5 theme. Tested under Python 2.7, Linux.

usage: hydrogen_renamer.py [-h] theme_zipfile old_name new_name

Change all occurrences of old_name to new_name in Wordpress theme_zipfile
paths and file contents. The new theme will be saved as new_name.zip

positional arguments:
  theme_zipfile  ZIP file containing a theme to be converted
  old_name       Name of the theme to be changed
  new_name       Name of the new theme

optional arguments:
  -h, --help     show this help message and exit

Usage example:

$ python hydrogen_renamer.py wordpress-tpl_g5_hydrogen_v5.2.2.zip hydrogen helium

About

Script to change the name of a Gantry 5 theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages