Skip to content

Symphony9/wordpress-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get started

Note: Try yarn instead of npm. Its faster. Especialy on windows

Prerequisities

  • yarn or npm
  • I will be using yarn

Local development

  1. Clone repo
  2. Set up virtualhost on your system
  3. Create database
  4. (Optional) Get DB dump somewhere and import it to your DB
  5. Duplicate wp-config-sample.php - cp wp-config-sample.php wp-config.php
  6. Edit wp-config.php - fill in your db info
  7. (Optional...or if compiling does not work) Install gulp globally (You should not need this but just for safe measures) - yarn global add gulp-cli gulp
  8. Install FE dependencies - yarn
  9. a. Run watcher for compiling SCSS and JS - yarn start b. If you need production ready bundle - yarn run build c. If above does not work try step 7) of this guide. Otherwise ask Vojta if he knows how to fix your problem
  10. Happy coding!

What is included?

JS libraries

WP Plugins

  • Custom wp plugin for form ajax - see implementation example in wp-content/plugins/contact-form
  • ACF Pro for awesome custom fields in WP admin

other stuff

  • get_view() custom functions to include template parts with data - see wp-content/themes/theme/functions
  • Kint PHP debugger (var_dumper) - just use d(expression)

About

Quickstart Wordpress project from Symphony no.9

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published