-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve the process for adding / updating FSE themes #4
Comments
Instead of unpacking to the This logic doesn't cater for themes which are not supported in the currently installed version of WordPress. Notes:
|
In the first version of this routine I've used the logic I developed for wp-top12 - accessing the theme's info from a cached version of the theme info. in This assumes that the wp-top12 downloads routine has been run for all FSE themes. If I were to want to use this logic on blocks.wp-a2z.org then I need the following:
|
I tried this and discovered other problems
Workaround: deactivate Jetpack. |
In Gutenberg 12.1.0, templates and template parts are expected to be found in predefined folders. After filtering the required patterns are registered
Other themes register the patterns with inline structures
Documentation for If we want to simulate the pattern registration we can consider loading and invoking the callback function programmatically.
|
The solution I found for patterns was to use the |
There are now 64 FSE themes registered in wordpress.org https://wordpress.org/themes/tags/full-site-editing/ In addition to the 10 new themes that need installing and cataloguing 42 of the themes installed in wp.a2z need updating.
Proposed solutionUpdate oik-themer.php
|
oik-update v1.3.0 is now on wp-a2z.org and oik-themer.php has been run.
64 themes on wordpress.org are now published on blocks.wp-a2z.org. |
Note: The themes process can be run on both |
I closed this issue before completing the tasks listed in April. Now there's a new theme, twentytwentythree, which isn't yet on wordpress.org but which I want to document. Running The task to implement is this one.
|
TwentyTwenty-Three is now on wordpress.org... but there's another problem. Assuming this was an intentional change there are two problems to address
|
The latest problem I had was when the system attempted to update a theme requiring a parent theme.
Fatal error: Uncaught Error: Call to undefined function themes_api().
|
There are now 31 FSE themes registered in wordpress.org https://wordpress.org/themes/tags/full-site-editing/
I need a quick process that will register the themes in blocks.wp.a2z then clone them to blocks.wp-a2z.org
OR to simply run on the live server.
Proposed solution
It may not be necessary to download the theme to the local installation other than to be able to verify that the templates, template parts and patterns are located. Not that there's support for patterns yet.
The text was updated successfully, but these errors were encountered: