Onboarding wizard: improve Reader mode and Transitional mode recommendations #4990
Labels
Changelogged
Whether the issue/PR has been added to release notes.
Enhancement
New feature or improvement of an existing one
Groomed
WS:UX
Work stream for UX/Front-end
Milestone
From @westonruter in #4980 (comment).
We should export to JS this logic from PHP:
Note I'm intentionally using
get_stylesheet()
here as opposed toget_template()
because child themes of core themes are often not AMP-compatible.Nevertheless, we may want to hold off on doing this until I finish my work on the Reader theme loading because this changes how the
amp
theme support is mutated (or not).There's also a case to do something similar for Reader mode, for themes that don't have
amp
theme support and yet have anamp
directory, which is captured by this logic at the moment:amp-wp/includes/class-amp-theme-support.php
Lines 349 to 366 in a8a4d4d
We may want to mention that the active theme has special legacy Reader mode support, and also indicate that in the list of Reader themes.
The text was updated successfully, but these errors were encountered: