slush-wordpress-theme

a wordpress theme slush generator

Usage no npm install needed!

<script type="module">
  import slushWordpressTheme from 'https://cdn.skypack.dev/slush-wordpress-theme';
</script>

README

slush wordpress

Gitter

NPM version Download stats

NPM stats

installation

npm install -g slush
npm install -g slush-wordpress-theme

Wordpress theme scaffolding

create the theme

slush wordpress-theme

create custom page template

slush wordpress-theme:custom-page custom-page-name

create custom post type

slush wordpress-theme:post-type
// add the code to the functions.php make sure you don't close the php tag.

enqueue script

slush wordpress-theme:enqueue-script some-script
// add the code to the functions.php make sure you don't close the php tag.