Joost de Valk has proposed a…

Joost de Valk has proposed a font enqueue API for WordPress core. πŸ”‘

Explaining why we should implement .wp_enqueue_font, Joost writes:

“Building this so that fonts are always loaded the same way allows us to continuously improve the way we load fonts as the standards evolve.”

Speaking of fonts, the WordPress Themes Team has built an easy-to-use implementation of locally hosted webfonts that themes can start using now:

“Google fonts have been used as a way for themes to provide more appealing typography options. They are widely used and though there were always privacy and tracking concerns, we could not remove the exception until we had a viable alternative for theme-authors.”

Similar Posts