Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best Practice w/ Custom Theme + Plugins #66

Closed
gil-- opened this issue Oct 12, 2016 · 3 comments
Closed

Best Practice w/ Custom Theme + Plugins #66

gil-- opened this issue Oct 12, 2016 · 3 comments

Comments

@gil--
Copy link

gil-- commented Oct 12, 2016

I'm a little confused on how we should go about using this with a private repo containing wp-content that houses our custom plugins and theme. Normally I can either deploy entire WP site Github repo to server or add the wp-content folder as a repo on the server and pull whenever I make plugin/theme/wp changes.

"Because a file cannot be written to Heroku's file system, updating and installing plugins or themes should be done locally and then pushed to Heroku."

What does that mean? SCP files to the heroku instance? Sorry I'm just new to Heroku/Composer for Wordpress.

@xyu
Copy link
Owner

xyu commented Oct 12, 2016

You can add custom plugins and themes to the public/wp-content dir here:

https://github.com/xyu/heroku-wp/tree/nginx-php7/public/wp-content

Anything checked into this dir will be merged with the plugins or themes specified in the composer config when deployed to Heroku.

@gil--
Copy link
Author

gil-- commented Oct 12, 2016

Thanks! Makes sense.

I also went ahead and read up more on Heroku. For anyone else in the future that is/was confused checkout these guides:

@gil-- gil-- closed this as completed Oct 12, 2016
chrisbutler added a commit to chrisbutler/heroku-wp that referenced this issue Mar 8, 2017
xyu added a commit that referenced this issue Apr 9, 2017
clarify confusing plugin/theme instructions #99 #66
sabih pushed a commit to sabih/heroku-wp that referenced this issue Dec 8, 2018
sabih pushed a commit to sabih/heroku-wp that referenced this issue Dec 8, 2018
clarify confusing plugin/theme instructions xyu#99 xyu#66
@evanjmg
Copy link

evanjmg commented Dec 26, 2019

this doesn't seem to work I've created a folder /themes git committed it and also just tried inside wp-content. Did this break?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants