[wp-meta] [Making WordPress.org] #30: Make better theme test data for display in the theme directory.
Making WordPress.org
noreply at wordpress.org
Wed Nov 18 07:27:57 UTC 2020
#30: Make better theme test data for display in the theme directory.
-------------------------------------------------+-------------------------
Reporter: whyisjake | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone:
Component: Theme Directory | Resolution:
Keywords: has-patch ui-feedback needs-refresh |
2nd-opinion |
-------------------------------------------------+-------------------------
Comment (by dd32):
[10449] missed this ticket.
{{{
Theme Directory / Theme Previews:
Add support for using starter content as the base for Theme Previews.
This is currently limited to the 3 default themes which support starter
content while
evaluating how well this works, and finding what this doesn't work with.
Props dinhtungdu, dd32.
}}}
TwentyTwenty and TwentyTwentyOne required some hard-coded require's as
they don't load starter content in a way which is accessible to the theme
previewer, but other than that, with some tweaks to some code supplied by
@dinhtungdu I was able to get this working very well for https://wp-
themes.com/twentyseventeen/, https://wp-themes.com/twentytwenty/, and
https://wp-themes.com/twentytwentyone/
Thanks @dinhtungdu!
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/30#comment:68>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list