How to Install a Custom Font in WordPress

How to Install a Custom Font in WordPress

Option 1: Using a Plugin (Easiest Method)

If you want to avoid editing theme files, you can use a plugin.

Steps:

1. Log in to your WordPress Admin Dashboard.

2. Go to Plugins Add New Plugin.

3. Search for one of these plugins:

Use Any Font (very popular)

Custom Fonts

Fontsy

4. Click Install Now, then Activate.

5. Once activated, go to the plugin’s settings page (for Use Any Font, it’s under Settings Use Any Font).

6. Upload your font files (.ttf, .woff, .woff2, or .otf).

7. Assign your custom font to specific HTML tags or elements (e.g., h1, p, .site-title) using the plugin’s options.

Tip: “Use Any Font” handles hosting and CSS automatically — perfect if you just want to get the font working quickly.

—————

Option 2: Uploading Fonts Manually via Theme or Child Theme

If you prefer full control and no extra plugins, upload the font files yourself.

Steps:

1. Prepare your font files in web-safe formats (.woff and .woff2 recommended).

2. Using your file manager or FTP/SFTP, navigate to your theme folder:

/wp-content/themes/your-theme-name/

3. Create a new folder named fonts inside it:

/wp-content/themes/your-theme-name/fonts/

4. Upload your font files into that fonts folder.

5. Next, edit your theme’s style.css (or a child theme’s style.css). Add this CSS:

@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/MyCustomFont.woff2') format('woff2'),
         url('fonts/MyCustomFont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, p, h1, h2, h3 {
    font-family: 'MyCustomFont', sans-serif;
}

6. Save the file, and clear your cache (browser + WordPress caching plugin if used).

⚠️ Tip: Always use a child theme to prevent your changes from being overwritten during theme updates.

—————

Option 3: Using a Page Builder (e.g., Elementor or Divi)

If your site uses a builder, many allow font uploads directly.

In Elementor Pro:

1. Go to Elementor Custom Fonts.

2. Click Add New.

3. Upload your font files for each weight/style (Regular, Bold, Italic, etc.).

4. Save your font.

5. Now, in Elementor widgets, open Typography Family and select your new font.

—————

Option 4: Linking an External Font (if hosted elsewhere)

If your font is hosted on another server or service (e.g., Adobe Fonts or Google Fonts):

1. Copy the provided embed code or CSS link.

2. Go to Appearance Customize Additional CSS.

3. Paste the link, for example:

<link rel="stylesheet" href="https://example.com/fonts/MyCustomFont.css">

4. Then apply the font in your CSS as usual:

h1, h2, h3 {
    font-family: 'MyCustomFont', sans-serif;
}

—————

Final Tip

If your font doesn’t appear after upload: - Make sure the file paths are correct.
- Clear WordPress + browser cache.
- Verify your CSS selectors match the correct elements.

    • Related Articles

    • How to Replace WordPress Cron with a Real Cron Job

      Have you ever noticed that your scheduled posts in WordPress are missing? Though WordPress has its own cron feature that dictates the scheduling of your blog’s posts and events, WP-cron is not a literal cron job. Linux cron job vs. WP-cron The user ...
    • Setting the Default Blog Archive Page in WordPress (Using Elementor Template Kits)

      If you’re using an Elementor Template Kit, your Blog Archive page (the page that lists your blog posts) may not automatically display correctly until you designate it as the default “Posts Page” in WordPress and apply the correct Elementor template. ...
    • Running WP-CLI as Root to Import Posts for a cPanel User

      Overview This guide explains how to safely run WP-CLI commands in WHM Terminal as the root user to perform WordPress imports for a specific cPanel account. This method does not require enabling shell access for the cPanel user and ensures that no ...
    • How to Get Google Sitelinks for Your Website

      Google sometimes shows extra sub-links under your website’s main search result. These are called sitelinks, and they help users navigate directly to important pages of your site. You can’t turn them on manually, but you can improve your chances of ...
    • Popular Articles

    • How to add your Microsoft 365 Email on an iPhone using the Outlook app

      How to Set Up Microsoft 365 Email on Your iPhone Using Outlook This guide will walk you through downloading the Outlook app and adding your Microsoft 365 email account on your iPhone. ————— Step 1: Download the Outlook App 1. Open the App Store on ...
    • Outlook Error "5objp" when setting up email on Outlook App

      Follow these steps if you are having trouble signing into Outlook with your Microsoft 365 account: ————— Step 1: Start with the onmicrosoft.com Address • First, try signing in using the @myorg.onmicrosoft.com format email address. – Example: ...
    • How to update your credit card on file

      Do you need to update your credit card on file within the Twilight I.T. Customer Portal? Here is what you need to do... Step 1: Log into the portal at https://portal.twilightit.com Step 2: Click on BILLING in the top menu. Step 3: Click on PAYMENT ...
    • How to view or download invoices on your account

      Here is the process of viewing and/or downloading invoices on your account with Twilight I.T. Step 1: Log into the client portal at https://portal.twilightit.com Step 2: Click on the BILLING menu Step 3: From here you can view all your invoices. If ...
    • How to add your Microsoft 365 Email on an Android phone using the Outlook app

      How to Set Up Microsoft 365 Email on Your Android Phone Using Outlook This guide will walk you through downloading the Outlook app and adding your Microsoft 365 email account on your Android device. ————— Step 1: Download the Outlook App 1. Open the ...