Hello, I’m building a WordPress Multisite using standard WordPress structure (Our client didnt want to use Bedrock). and I will create 4 themes using Sage and Acorn with the traditional setup. I’m using sage inside each theme. the problem is that Acorn CLI, wp acorn always point to the main site theme (main theme) (exp using acf-composer to generate blocks or other packages). I found a way to target each theme by adding --base=“path/to/theme” but it’s not optimal. Is there a better way ?
And When I create a new theme I have to change the namespace. is there a better way ?
--url
is another one you could use instead of --base
for WP-CLI
I don’t know how this could be make more optimal? Both WordPress and Acorn need to know which site you’re wanting to target
Which namespace? Why do you have to do this?
Hello Ben.
Thank you for you reply.
Changing the default App namespace in each theme with the theme Name. I thought is more safe and to stop PhpStorm from nagging… Is it unnecessary ?
Thks
Did the site throw errors without changing the namespace? I haven’t tried out multiple Sage 10 based themes activated on a multisite network before
Nope, just precaution.