Can’t upload a wordpress-react based theme because there is no index.php file
-
I’ve created a block theme using react-wordpress. It works fine in development, because I’m mounting the theme files directly to
/var/www/html/wp-content/themes/my-theme
Now that I’m trying to upload the theme through WordPress’s GUI, I’m getting an error that eitherindex.php
ortemplates/index.php
needs to exist. Adding these files to my build will allow the theme to be uploaded, but it will not work because at the end of the day the theme is exists inindex.js
.
I’m unsure if there’s something missing from my setup (I spent a lot of time cobbling this stack together from random internet sites) or if this is an actual bug. Any help would be much appreciated.
- You must be logged in to reply to this topic.