How to use Drush to quickly build a new
sub-theme of Zen.
First, download the Zen theme
if you haven't already done so.
$ drush dl zen
This will now enable you to use the "drush zen" command.
$ drush zen "Oliver Davies" oliverdavies --description="A Zen sub-theme for oliverdavies.co.uk" --without-rtl
The parameters that I'm passing it are:
The human-readable name of the theme.
The machine-readable name of the theme.
The description of the theme (optional).
A flag telling Drush not to include any right-to-left elements within my
sub-theme as these aren't needed (optional).
This will create a new theme in sites/all/themes/oliverdavies.
For further help, type $ drush help zen to see the Drush help page for the zen
command.
Was this useful?
About me
I'm an Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.