Adding and removing themes and plugins. The plugin and theme folders are ignored in the .gitignore file. So I'm guessing these need to be removed from the .gitignore file. Or should we be adding the plugins and theme to the composer.json file and let composer do the loading?
Hi Steve, are you adding your plugins into web/app/plugins , and your theme(s) into web/app/themes? Ignore the wp-content folder that is inside the root directory.
For what it is worth, I am having the same issue. I have added a theme using composer require wpackagist-theme/my-theme on the cli, then it didn't work so I followed the directions above and copied the unzipped theme folder directly into /web/app/themes, commented out the .gitignore line that was preventing the themes from going into source control, and pushed to heroku. The build succeeded. The theme did not show up.
Adding and removing themes and plugins. The plugin and theme folders are ignored in the .gitignore file. So I'm guessing these need to be removed from the .gitignore file. Or should we be adding the plugins and theme to the composer.json file and let composer do the loading?
Hi Steve, are you adding your plugins into web/app/plugins , and your theme(s) into web/app/themes? Ignore the wp-content folder that is inside the root directory.
Yep. But these folders are in the .gitignore and the composer.json file seems to imply that the themes and plugins should be added there.
Hi Steve, I’ve never run into this issue. But nevertheless, comment it out from your gitignore file. Let me know if things are working smoothly.
Hi!
For what it is worth, I am having the same issue. I have added a theme using
composer require wpackagist-theme/my-theme
on the cli, then it didn't work so I followed the directions above and copied the unzipped theme folder directly into/web/app/themes
, commented out the.gitignore
line that was preventing the themes from going into source control, and pushed to heroku. The build succeeded. The theme did not show up.(the name of the theme is
author
)