-
Notifications
You must be signed in to change notification settings - Fork 867
Install foundationPress twice in one themes directory? #769
Comments
As long as you aren't in the same directory you will be fine. |
I just renamed my original to "FoundationPressNew" and then did an new clone -- of couse the new one works great but the old one won't compile-- can I throw out the new one and get the old one working again? |
try this. it will save to the "your-theme-name" Erwin B. Pagulong Mobile: +63 908 7793 773 On Tue, Mar 15, 2016 at 9:54 AM, Colin Marshall [email protected]
|
Ok, changed the original back to FoundationPress and all is well, still not sure I can have 2 versions running from the same folder, not sure how I'm going to develop more than one foudationpress site at a time now. Any suggestions are appricitated, sorry if my question is completely noob |
I have not had that problem and have never used the default folder name. Just clone or extract the FoundationPress directory, rename the directory to whatever you want, then run npm install from within the directory. That's my procedure and I can install as many as I want within the same WordPress installation with no conflicts. Hope that helps! |
On a side note from something you wrote, if you are developing two sites you should have two completely separate WordPress installations. Then you can clone or extract the FoundationPress directory into each installation and leave its name as-is without them interfering with eachother. |
I figured that, it also looks like I can have both in the same folder, only one can actively be compiled, so in
|
@andreaarcher check out WordPress multisite network: http://codex.wordpress.org/Create_A_Network |
I use multisite now, but there is still only one theme directory so that won't help in this situation. but thanks so much for the suggestion. Ok, thanks the collective genius of this board I've figured this out. As per JayCadilak I can change the name "FoundationPress" to anything I want before I run install. Since my first clone/build was set up as FoundationPress, it will only compile if it is called that. So—— when I want to add a new one I temporarily change the name to something else so that I don't overwrite it when I install the new one via the "git clone https://github.com/olefredrik/FoundationPress.git" command. then I change the name of the new one to something else BEFORE I run the install command. Then I change my original back to FoundationPress and run watch again. I just tested and is seems to be working. |
👍 |
Hello,
I am developing 2 separate sites on my local MAMP stack. I'd like to use FoundationPress (installed via npm) for both of them. The first install went well, now I want to clone/install again and change the name of the theme so as to not have a conflict, but I'm not sure what the workflow would be, I'm afraid that I will overwrite my first install if I go through the command line again using the original instructions:
$ cd my-wordpress-folder/wp-content/themes/
$ git clone https://github.com/olefredrik/FoundationPress.git
$ cd FoundationPress
$ npm install
Can anyone advise?
Thanks so much in advance
Andi
The text was updated successfully, but these errors were encountered: