yeswework / fabrica-dev-kit

A toolkit for faster, smoother WordPress 5 development
https://fabri.ca/
MIT License
274 stars 27 forks source link

Adding wp plugins during development. #7

Closed samburgers closed 7 years ago

samburgers commented 7 years ago

Hi,

What is the recommended way to add/remove wordpress plugins after initial setup, or during dev?

andrewstaffell commented 7 years ago

Either in the usual way through the admin, or put them straight into www/wp-content/plugins/.

samburgers commented 7 years ago

Appreciate the quick replies! I had figured plugins might be Composer managed. Thanks for clearing that up.

andrewstaffell commented 7 years ago

Composer is there in dev/src/includes/ for any PHP dependencies your theme might have. But WP plugins work normally.

(In the specific case of Timber, which can be installed both as a plugin and a Composer dependency, we prefer the latter, because it's pretty essential to our workflow, but you don't have to use either!)