This is a quick start package for new Wordpress Projects build with Timber
- Fork the Repo
- Clone it to your local Machine
- Import the DB from
\dump
with PHPmyAdmin - Make a DB user. (default now is root)
- Remember to change wp-config.php
- Change push.sh configuration
- login to /wp-admin
admin/admin
- Db: wordpress-boilerplate
- User: root
- Pass: ""
Plugins Included:
- Advanced Custom Fields
- Akismet
- UpdraftPlus
- Timber
- Wordfence Security
- WP Super Cache
- Yoast SEO
- Contact Form 7
- EWWW Image Optimizer
- Autoptimize
Credentials
- Admin Url:
SITE_NAME/wp-admin
Users:
- Super User:
admin/admin
Paths
- theme.css -->
wp-content/themes/wpTwig/static/css/theme.css
- theme.js -->
wp-content/themes/wpTwig/static/js/theme.js
- custom.css -->
wp-content/themes/wpTwig/static/custom.css
- custom.js -->
wp-content/themes/wpTwig/static/custom.js
Development workflow as usual.
Pushing to the Remote
git checkout development
- type
sh push.sh
from the root folder of your local repo
Steps:
- Change DB user & password etc. Update
wp-config.php
- Change Wordpress Admin credentials
- Remove
push.sh
as it is not needed any more and can be a security issue - Make sure that the e-mails in
Settings -> General
and contact forms are correct - Enable Plugins
Wordfence Security
,WP Super Cache
andYoast SEO
- Enable needed optimizations in
Autoptimize
- Define proper keys in
config.php
- Test that everything runs smoothly