A WordPress starter theme for developer using Timber Library and ACF Pro. Also supports WooCommerce.
Stylesheet is compiled with Node Sass and using Edje Framework. Visit that link to know how to compile Sass.
REQUIREMENTS
- PHP 7.0+
- WordPress 5.0+
- Composer 1.8
- Timber 1.8.0+
- ACF Pro 5.8
TABLE OF CONTENTS
MANUAL
- Copy this repo to your WordPress theme directory
- Download the required plugins, they are: Timber, ACF Pro (Paid), and Edje WP Library
WITH COMPOSER
Available in Packagist under the name
pixelstudio/edje-wp-theme
.
This is our workflow for starting new project. This steps will also download WP Core files and other required plugins.
-
Create empty directory then create new file named
composer.json
. Put this code below inside it:{ "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/wordpress": "~5.2", "pixelstudio/edje-wp-theme": "~5.0", "pixelstudio/advanced-custom-fields": "~5.8", "pixelstudio/edje-wp-library": "~2.0", "pixelstudio/wp-sync-db": "~1.6", "pixelstudio/wp-sync-media": "~1.1", "wpackagist-plugin/jetpack": "*", "wpackagist-plugin/timber-library": "*", "wpackagist-plugin/autodescription": "*", "wpackagist-plugin/contact-form-7": "*", "wpackagist-theme/twentynineteen": "*" }, "require-dev": {}, "suggest": { "pixelstudio/edje-wc-library": "~2.0", "wpackagist-plugin/woocommerce": "*", "wpackagist-theme/storefront": "*" }, "repositories":[ { "type": "composer", "url":"https://wpackagist.org" } ], "autoload": { "psr-0": { "Acme": "src/" } } }
-
If you want WooCommerce site, add the value of
suggest
torequire
. -
Run the command
composer update
in that directory. -
Done! You will find the WP Core files inside
wp-core/
directory. Cut it to root. -
Recommended: Rename
edje-wp-theme
so it won't be overriden the next time you runcomposer update
. Also removepixelstudio/wordpress
in JSON file after first installation.