Site icon Leonid Mamchenkov

How to add Google fonts into your WordPress

How to add Google fonts into your WordPress

Use Google to generate the CSS for the font, then include it using wp_register_style() and/or wp_enqueue_style() WordPress functions.  This should probably be generalized to accept font name parameters, as well as probably moved out into a plugin.

Exit mobile version