![]() ![]() Adding Google Fonts with a pluginīelow we will show you how to add Google Fonts using a plugin. For this reason, many people decide to use one of the plugins made for this purpose. This way, you have successfully added your Google Font to your WordPress site.Īs you can see, manually adding Google Fonts to your WordPress pages can be quite tricky. Wp_enqueue_style ('add_google_fonts', ' ' ) }Īdd_action ( 'wp_enqueue_scripts', 'add_google_fonts' ) ĭon’t forget to insert the URL of your font instead of the specified URL. Inside your functions.php file type this code: We will add the font using the wp_enqueue_style() function. There are two options, “” and We will click on the latter and copy the content.Īfter you’ve copied the box content, locate and edit your theme functions.php file. When you have selected the desired font, you will notice that a new window has opened on the right, inside which is the code that will embed the font inside your WordPress pages. For demonstration purposes we have chosen the Lato Regular 400 font. You can select multiple fonts and their layouts at the same time, but be aware that this may slow down your pages when they load. Immediately after that, a window will open in which the code for implementing the specified font will be printed. Once you’ve decided on one of them, click the (+) sign on the right to add the font to your collection. You can type in some text to see how that font looks with your slogan or text. There is a great filtering option that allows you to find a font by category, style, language, popularity and many other filters.Ĭlick on the font you like. If this has encouraged you to use Google Fonts, then let’s start adding Google Fonts to our WordPress pages.Īdding Google Fonts to our pages consists of several steps: 1- Finding the right Google fontĬlick here to visit the Google Font Collection to select a suitable font. Great, right? Most of the WordPress themes that you can find on the market today support the use of Google Fonts. The big advantage is that you don’t have to have them on your server, but you can call them with functions and use them directly from Google services. Google Fonts is a free collection of almost 1,500 fonts that you can use completely free of charge, even for commercial purposes. For the correct display of the text, so that the text is not cluttered or difficult to read, it is best to use Google Fonts, which are completely free.īefore we start adding fonts to our WordPress pages, we will first explain what Google Fonts are and why you should implement them on your website. ![]() Today we will show you how you can improve the appearance and quality of text using Google Fonts on your WordPress pages.Īlthough WordPress has its own text editor, its capabilities can be quite limited if you’re looking for that special font. If you have a modern designed website but you are not satisfied with the appearance of the text, then this article is for you. Are you limited by the choice of fonts on your WordPress theme? In this article we will show you how to add Google Fonts to WordPress website. ![]()
0 Comments
Leave a Reply. |