A WordPress starter theme built with Timber.
Stylesheet is compiled with Node Sass. Visit that link to know how to compile Sass.
REQUIREMENTS
- PHP 7.3+
- WordPress 5.7+
- Composer 1.8
- Node JS
TABLE OF CONTENTS
MANUAL
- Copy this repo to your WordPress theme directory.
- Download Edje WP Library plugin and put it into your Plugin directory.
WITH COMPOSER
Available in Packagist under the name
pixelstudio/edje-wp-theme
.
This is our workflow for starting a new project:
-
Create a directory, put WP Core files in it.
-
In the root path (where
wp-config
resides), create new file namedcomposer.json
. Put this code below:{ "name": "pixelstudio/new-site", "description": "Run the command `composer update` to download all plugins and themes.", "authors": [ { "name": "Pixel Studio", "email": "[email protected]", "homepage": "https://pixelstudio.id" } ], "require": { "pixelstudio/edje-wp-theme": "~9.1", "pixelstudio/edje-wp-library": "~6.0.0", "pixelstudio/wp-sync-db": "~1.8", "wpackagist-plugin/jetpack": "*", "wpackagist-plugin/autodescription": "*", "wpackagist-plugin/contact-form-7": "*", "wpackagist-theme/twentytwentyone": "*" }, "require-dev": {}, "suggest": {}, "repositories":[ { "type": "composer", "url":"https://wpackagist.org" } ], "autoload": { "psr-0": { "Acme": "src/" } } }
-
Run the command
composer update
in that directory. -
After first run, rename
edje-wp-theme
so it won't be overriden the next time you runcomposer update
. Also removepixelstudio/edje-wp-theme
in your Composer JSON.
- Install Node JS if you don't have it yet.
- Run
npm update
in this directory to download all modules. - Open
webpack.config.js
and change the variablelocalDomain
to fit your localhost domain. - Run
npm run dev
to watch the Sass files and launch Browser Sync that refreshes the CSS everytime you save. - Before pushing to live, run
npm run prod
to minify all CSS and JS.
Here are some websites that uses this theme:
- WordPress Tips - Advanced Tutorial
- Angela Chung - Fashion Designer
- Briliant Glass - Glassware Factory
- Fitnation - Premium Gym
- Istana Mie - Restaurant Franchise
- LTL School - Learn Mandarin in China
- GES13 - Refrigeration Distributor
- Paritama - Garden Architecture
- Pandarin - Mandarin Learning Center
- Pixel Studio - Web Designer
- Premiera Skincare