2.4k questions

2.4k answers

99.5k users

Categories

0 votes
70 views

How do you install a new font in WordPress?
in WordPress by (95.8k points)

1 Answer

0 votes

there are a few ways

How do I add a font to WordPress without plugin?

Adding Fonts in WordPress Without Plugins

  1. The use of a WordPress template file. The first way to connect custom fonts to your site is to take the code provided by the scripts libraries and copy them into the header. ...
  2. The use of CSS and @import. ...
  3. The use of @font-face.

use a plugin

Easy Google Fonts

add the font to functions.php

How do I add fonts to WordPress functions PHP?

Another way to add Google fonts to your WordPress site is by enqueuing the font in your theme's functions. php file or a site specific plugin. add_action( 'wp_enqueue_scripts' , 'wpb_add_google_fonts' ); Don't forget to replace the font link with your own.

and more ways …

by (95.8k points)
...