I’m here to know how to enqueue Google Fonts CSS2 the correct Envato way? As we know Envato recommends this with Pipe sign ( | ) (if multiple fonts) [Enqueue Google fonts in WordPress theme · GitHub] to enqueue Google fonts on WordPress. But as CSS API version has been updated on Google Fonts, if we change css to css2, it does not load the fonts.
Will someone suggest how to properly enqueue Google Fonts with the latest CSS2 version?
I’ve searched before posting here. The fix you’re referring is Google Font v1. Google fonts has now updated to the latest version css2. I had followed this enqueue style and changed the google link to this…
But it does not load the fonts when I add [css2] at the end of the link. Now Envato Reviewers giving a Soft Rejection for enqueue the Google fonts v1 they’re suggesting to use v2. Can you please tell how to load the fonts with Google Fonts new version2 [css2]?