Why use a Plugin for adding Google font? Try with the manual process

Why use a Plugin for adding Google font? Try with the manual process

As we know, website design plays an important role to improve the user's experience. More readers will visit your site if your website design is appealing, according to SEO professionals, consumer analysis specialists and marketers.

Typography, on the other hand, plays a crucial part in the entire design. Custom fonts in WordPress themes are becoming increasingly popular. Hence, in this post, we will focus on installing Google Fonts directly to your WordPress website without any plugins.

Everyone knows that there are thousands of free plugins accessible in the official WordPress repository that can be used to customise a website. People keep installing new plugins and complain about the page loading time.

Occasionally, you may find yourself admiring a website's typeface and wondering how to use it on your website. You can discover some gorgeous typeface, even though not all of them are available on Google Fonts

Let’s begin with the procedure!

Step 1:
The ideal font to choose may be found on the official Google Fonts page. Then, scroll down to the bottom and see if you can identify with any of them.

Step 2: To pick a typeface, simply click on the red + button in the upper right corner. To learn more about a typeface, simply click on its box to reveal its many styles. Perhaps you can experiment with the typeface's font size and style.

Step 3: Use the red + button on your keyboard to select the font you want to use. At the bottom of your computer screen, you'll see a brown bar. When you click to open the font, you'll get instructions on how to use it.

Step 4: You have two options for adding Google Fonts to your website. We recommend using the usual method. If you want, you may also utilize the "Import" approach.

How do you add <link> tag to your page? You may see that there is a clear instruction to add the URL to your website's head> tag.

Step 4: Your website header has the <head> tag, as you may have predicted. The question is, how do you discover it? To make your WordPress site seem good, you must change the header.php file.

Step 5: Logging into your WordPress admin panel and selecting Appearance >> Editor will allow you to achieve this.

Step 6: Whenever you open the editor, the CSS file is shown, but you need the header.php file. In the vertical navigation menu, look for Theme Header. To open, click here.

Step 7: This will display the title of the file as well as the name of your WordPress theme if you've done it correctly. It's called "Theme Header" (header.php).

Step 8: Adding the <link> tag to the head> tag is required. It's similar to submitting your website to Google Search Console, which is a free service. The meta> tags are visible. Copy and paste the link> tag from Google Fonts. Click the Update File button to make changes to the file.

Step 9: What's the best approach to alter the title of your blog posts? To achieve this, you'll need to use CSS to target the HTML components.

Follow these easy measures to avoid a plugin. Your WordPress theme's header file doesn't require a lot of effort to edit. Your website's header and footer already have custom code in them. Once you've done that, you're done with it.
Author
kumkumsharma
Views
1,599
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top