Edje WordPress Theme
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.9+
- Composer 1.8
- Node JS
TABLE OF CONTENTS
Installation
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": "info@pixelstudio.id", "homepage": "https://pixelstudio.id" } ], "require": { "pixelstudio/edje-wp-theme": "~14.1", "pixelstudio/edje-wp-library": "~9.0.0" }, "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.
Compiling Sass
- 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.
Used In
Here are some websites that uses this theme:
- WordPress Tips - Advanced Tutorial
- Gumaya - 5-star Hotel
- Kantu - Peruvian Gifts
- LTL School - Learn Mandarin in China
- Premiera Skincare
- Pixel Studio - Web Designer
- Angela Chung - Fashion Designer
- Briliant Glass - Glassware Factory
- Fitnation - Premium Gym
- Istana Mie - Restaurant Franchise
- GES13 - Refrigeration Distributor
- Paritama - Garden Architecture
- Pandarin - Mandarin Learning Center