[wp-trac] [WordPress Trac] #48800: Twenty Twenty: Conditional loading of language/locale specific css and php files
WordPress Trac
noreply at wordpress.org
Tue Nov 26 22:01:42 UTC 2019
#48800: Twenty Twenty: Conditional loading of language/locale specific css and php
files
-----------------------------+------------------------------
Reporter: ianbelanger | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.3
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [ticket:48800 ianbelanger]:
> Is it possible to separate the title and body CSS in several languages?
It is possible, see the [source:tags/5.3/src/wp-
content/themes/twentyseventeen/style.css#L581 Typography section] in
Twenty Seventeen for example.
It is also possible to disable specific Google fonts for specific locales,
see [source:tags/5.3/src/wp-
content/themes/twentyseventeen/functions.php?marks=286-290#L280
twentyseventeen_fonts_url()] for example.
However, we should be careful not to create excessively verbose CSS, see
#47925 and #45731 for Twenty Nineteen.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48800#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list