A clean starter WordPress Theme based on CSS3 Flexbox
MasterFlex requires Node.js v10.16.x or newer.
From your wp-content/themes
directory, run the following.
$ git clone --single-branch --branch master https://github.com/ifrountas/masterflex.git myfirsttheme
$ cd myfirsttheme
$ npm install
When you run npm install
the first time, you will trigger the automated startup.
"What is the name of your theme?"
The provided answer is used to update style.css with your theme name.
"What is the namespace of your theme?"
This will replace all of the function namespaces and translation textdomains with your selected namespace.
"What is your local URL for this install?"
This URL is used to configure BrowserSync to work with your local environment.
npm run start
- watches all JS, CSS and image source files for changes.
npm run build
- compiles all JS, CSS and image source files localy.
npm run compress
- building a new theme tag. Your theme is the .zip file inside folder /theme_versions
.