Closed rastitkac closed 4 years ago
Hi @rastitkac ,
Could you please clarify what you mean exactly by "can't activate" - is it missing from the list of themes, do you get an error (if yes - what is it?), do you activate it but it your current theme remains the active one instead etc.
Hi @atanas-angelov-dev
Sorry for not being clear and sorry for late replay (I missed the notification).
After installing the theme by running composer create-project htmlburger/wpemerge-theme test
the files in the resulting folder test
didn't resemble a WordPress theme (see attached screenshot).
When I tried to activate it wp theme activate test
, I got "Stylesheet is missing" error.
and couldn't see it in wp-admin/themes.php
Later I found out, I could activate by wp theme activate test/theme
.
But I still haven't found out why I can't see it in admin.
Thanks for the extra info @rastitkac !
The structure you are seeing is as expected - the theme currently ~abuses~ takes advantage of nested theme directory support to organize files a little differently. While it can lead to activation quirks like this, the theme should be visible in the administration panel - are you using an atypical environment like Bedrock or similar, for example?
Just a heads up, the special directory structure is getting a revamp in the next release so this will no longer be an issue when it goes live (it's still some time away though).
0.15.1
Expected behavior
Being able to actually activate the theme in wordpress.
Actual behavior
After following quick start instructions can't activate the theme in wp-admin nor wp-cli.
Comments
What am I missing?