{"id":9096,"date":"2025-12-04T04:46:57","date_gmt":"2025-12-04T04:46:57","guid":{"rendered":"https:\/\/cachsudung.com\/?p=9096"},"modified":"2025-12-04T04:46:57","modified_gmt":"2025-12-04T04:46:57","slug":"cach-them-font-chu-vao-wordpress","status":"publish","type":"post","link":"https:\/\/how.congdongso.net\/en\/how-to-add-custom-fonts-to-wordpress\/","title":{"rendered":"How to add fonts to wordpress text editor area"},"content":{"rendered":"<p><strong>How to add fonts to wordpress<\/strong>. When you type text in WordPress, the editor is where you create and edit content for your website. However, the WordPress editor already has fonts, but they are too few and not enough for you to customize the content on your website. In this article, I will guide you. <a href=\"https:\/\/test.howto.edu.vn\/cach-them-font-chu-vao-wordpress\/\" target=\"_blank\" rel=\"noopener\"><strong>how to add font to wordpress editor<\/strong><\/a> Extremely fast to help you create your content easily and more beautifully<\/p>\n<h2>How to add fonts to wordpress as you like<\/h2>\n<p>Quick action. Add fonts to the wordpress editor as you like. You need to do the following 4 steps.<\/p>\n<ol>\n<li>Prepare your custom font, note that the font must be Vietnamese.<\/li>\n<li>Create custom CSS file<\/li>\n<li>Master the CSS rules for fonts so that fonts can work<\/li>\n<li>Link Custom CSS Files to WordPress<\/li>\n<\/ol>\n<p><strong>See more.<\/strong><\/p>\n<ol>\n<li><strong><a href=\"https:\/\/test.howto.edu.vn\/cach-tao-slider-chay-sieu-muot-tren-flatsome\/\" target=\"_blank\" rel=\"noopener\">How to create a slider that runs super smoothly on flatsome<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/test.howto.edu.vn\/foxtool\/\" target=\"_blank\" rel=\"noopener\">Foxtool multi-purpose utility toolkit for website<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/test.howto.edu.vn\/cach-dua-mo-ta-danh-muc-xuong-duoi-san-pham\/\" target=\"_blank\" rel=\"noopener\">How to put category descriptions below products<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/test.howto.edu.vn\/code-hien-thi-khuyen-mai-dep-cho-flatsome\/\" target=\"_blank\" rel=\"noopener\">The code shows nice promotions for flatsome like Cellphones<\/a><\/strong><\/li>\n<\/ol>\n<h3>I. Prepare custom Vietnamese font<\/h3>\n<p>First, you need to prepare a set of custom Vietnamese fonts that you want to put into the frame when editing text. For the simplest way, you can use Google fonts as the most standard. If you have a higher level, you can Vietnamese or get some suitable fonts.<\/p>\n<p><strong>Method 1: Using Google Fonts <\/strong>:<\/p>\n<p>You can access the page on the website <a href=\"https:\/\/fonts.google.com\" target=\"_blank\" rel=\"nofollow noopener\">Google Fonts<\/a> to download then choose a font that you want to use for your website. At each specific font, this is the size of the font, there is an embed code for each font. See details as shown below.<\/p>\n<figure id=\"attachment_9210\" aria-describedby=\"caption-attachment-9210\" style=\"width: 1723px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9210\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064.webp\" alt=\"How to add fonts to wordpress text editor area\" width=\"1733\" height=\"853\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064.webp 1733w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-300x148.webp 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-1024x504.webp 1024w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-768x378.webp 768w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-1536x756.webp 1536w\" sizes=\"auto, (max-width: 1733px) 100vw, 1733px\" \/><figcaption id=\"caption-attachment-9210\" class=\"wp-caption-text\">How to add fonts to wordpress text editor area<\/figcaption><\/figure>\n<p><strong>Method 2. Use custom fonts<\/strong>:<\/p>\n<p>If you already have a custom font, the first thing you need to do is convert it to web font format. There are many online websites that allow you to do this. You can access <a href=\"https:\/\/transfonter.org\" target=\"_blank\" rel=\"nofollow noopener\">website transfonter.org<\/a> to convert your computer&#039;s fonts into fonts for your website.<\/p>\n<p><strong>Step 1<\/strong>: Add fonts<\/p>\n<p><strong>Step 2<\/strong>: Convert<\/p>\n<p><strong>Step 3<\/strong>: Download<\/p>\n<figure id=\"attachment_9211\" aria-describedby=\"caption-attachment-9211\" style=\"width: 882px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9211\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-1.webp\" alt=\"How to add fonts to wordpress text editor area\" width=\"892\" height=\"874\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-1.webp 892w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-1-300x294.webp 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-1-768x753.webp 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><figcaption id=\"caption-attachment-9211\" class=\"wp-caption-text\">How to add fonts to wordpress text editor area<\/figcaption><\/figure>\n<p><strong>Step 4<\/strong>: After you download the file, you proceed to unzip it and you will see the file as shown below. This file is the font file you use for the web environment.<\/p>\n<figure id=\"attachment_9212\" aria-describedby=\"caption-attachment-9212\" style=\"width: 580px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9212\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-2-e1703316627413.jpg\" alt=\"How to add fonts to wordpress\" width=\"590\" height=\"180\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-2-e1703316627413.jpg 590w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-2-e1703316627413-300x92.jpg 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><figcaption id=\"caption-attachment-9212\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<h2><strong>II<\/strong>: Create a custom CSS file so that the website can recognize the font<\/h2>\n<h3>For google fonts<\/h3>\n<p>If you use Google font, you don&#039;t need to create it, just copy its link:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4332\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-3.webp\" alt=\"How to add fonts to wordpress\" width=\"341\" height=\"312\" title=\"\"><\/p>\n<h3>For fonts that you want to upload yourself<\/h3>\n<p>In case you create a font converted from your computer to a web font as I described above, you need to go to the themes or child theme folder and create a folder named fonts. Then upload all the font files you downloaded earlier into it.<\/p>\n<figure id=\"attachment_9214\" aria-describedby=\"caption-attachment-9214\" style=\"width: 823px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9214\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-4-e1703316653969.jpg\" alt=\"How to add fonts to wordpress\" width=\"833\" height=\"406\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-4-e1703316653969.jpg 833w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-4-e1703316653969-300x146.jpg 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-4-e1703316653969-768x374.jpg 768w\" sizes=\"auto, (max-width: 833px) 100vw, 833px\" \/><figcaption id=\"caption-attachment-9214\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<h2>III. Add CSS rules for fonts<\/h2>\n<h3>For google fonts<\/h3>\n<p>You will need to create a file in the Fonts section. For example, here I create it with the name <strong>addfont.css.\u00a0<\/strong>Copy the code below<\/p>\n<pre title=\"Copy to clipboard\"><span style=\"vertical-align: inherit;\">@import <\/span><span class=\"hljs-built_in\"><span style=\"vertical-align: inherit;\">URL<\/span><\/span><span style=\"vertical-align: inherit;\"> ( <\/span><span class=\"hljs-string\"><span style=\"vertical-align: inherit;\">&#039;https:\/\/fonts.googleapis.com\/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&amp;display= swap&#039;<\/span><\/span><span style=\"vertical-align: inherit;\"> );<\/span><\/pre>\n<h3>For fonts that you want to upload yourself<\/h3>\n<p>\u2013 If you insert fonts from your computer, you must also create a file named <strong>addfont.css<\/strong> in the Fonts folder but only the code inside is different. The code inside will be as follows:<\/p>\n<pre><span class=\"hljs-keyword\">@font-face<\/span> { <span class=\"hljs-attribute\">font-family<\/span>: <span class=\"hljs-string\">&#039;Fz Manchester Signature&#039;<\/span>; <span class=\"hljs-attribute\">src<\/span>: <span class=\"hljs-built_in\">URL<\/span>(<span class=\"hljs-string\">&#039;fonts\/FzManchesterSignature.eot&#039;<\/span>); <span class=\"hljs-attribute\">src<\/span>: <span class=\"hljs-built_in\">URL<\/span>(<span class=\"hljs-string\">&#039;fonts\/FzManchesterSignature.eot?#iefix&#039;<\/span>) <span class=\"hljs-built_in\">format<\/span>(<span class=\"hljs-string\">&#039;embedded-opentype&#039;<\/span>), <span class=\"hljs-built_in\">URL<\/span>(<span class=\"hljs-string\">&#039;fonts\/FzManchesterSignature.woff2&#039;<\/span>) <span class=\"hljs-built_in\">format<\/span>(<span class=\"hljs-string\">&#039;woff2&#039;<\/span>), <span class=\"hljs-built_in\">URL<\/span>(<span class=\"hljs-string\">&#039;fonts\/FzManchesterSignature.woff&#039;<\/span>) <span class=\"hljs-built_in\">format<\/span>(<span class=\"hljs-string\">&#039;woff&#039;<\/span>), <span class=\"hljs-built_in\">URL<\/span>(<span class=\"hljs-string\">&#039;fonts\/FzManchesterSignature.ttf&#039;<\/span>) <span class=\"hljs-built_in\">format<\/span>(<span class=\"hljs-string\">&#039;truetype&#039;<\/span>), <span class=\"hljs-built_in\">URL<\/span>(<span class=\"hljs-string\">&#039;fonts\/FzManchesterSignature.svg#FzManchesterSignature&#039;<\/span>) <span class=\"hljs-built_in\">format<\/span>(<span class=\"hljs-string\">&#039;svg&#039;<\/span>); <span class=\"hljs-attribute\">font-weight<\/span>: normal; <span class=\"hljs-attribute\">font-style<\/span>: normal; <span class=\"hljs-attribute\">font-display<\/span>: swap; }<\/pre>\n<p><strong>Note: How to add fonts to wordpress<\/strong> Whatever your font is, you should rename the font to the correct name and format as the font you uploaded. Avoid copying it exactly, which will cause your uploaded font to not work. Please see the details in the image below and follow the steps.<\/p>\n<figure id=\"attachment_9212\" aria-describedby=\"caption-attachment-9212\" style=\"width: 580px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9212\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-2-e1703316627413.jpg\" alt=\"How to add fonts to wordpress\" width=\"590\" height=\"180\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-2-e1703316627413.jpg 590w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-khung-soan-thao-wordpress-10064-2-e1703316627413-300x92.jpg 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><figcaption id=\"caption-attachment-9212\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<figure id=\"attachment_9216\" aria-describedby=\"caption-attachment-9216\" style=\"width: 848px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9216\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-4.webp\" alt=\"How to add fonts to wordpress\" width=\"858\" height=\"710\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-4.webp 858w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-4-300x248.webp 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-4-768x636.webp 768w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><figcaption id=\"caption-attachment-9216\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<h2>III. Link files using CSS to make fonts work<\/h2>\n<p>This is the most important step of the article so that the fonts can work properly with the path, so please read the content below carefully!<\/p>\n<figure id=\"attachment_9217\" aria-describedby=\"caption-attachment-9217\" style=\"width: 1131px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9217\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-5.webp\" alt=\"How to add fonts to wordpress\" width=\"1141\" height=\"334\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-5.webp 1141w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-5-300x88.webp 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-5-1024x300.webp 1024w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-5-768x225.webp 768w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><figcaption id=\"caption-attachment-9217\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<p>Initially, my text editor did not have a place to select the font I put in, so we had to pull it out using the code below. You just need to copy this code into the section <strong>function.php\u00a0<\/strong>that your child theme is using.<\/p>\n<pre><span class=\"hljs-title function_ invoke__\">add_filter<\/span>(<span class=\"hljs-string\">&#039;mce_buttons_2&#039;<\/span>, <span class=\"hljs-string\">&#039;add_size_and_font&#039;<\/span>,<span class=\"hljs-number\">888<\/span> ); <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">add_size_and_font<\/span>(<span class=\"hljs-params\"> <span class=\"hljs-variable\">$options<\/span> <\/span>) <\/span>{ <span class=\"hljs-title function_ invoke__\">array_shift<\/span>( <span class=\"hljs-variable\">$options<\/span> ); <span class=\"hljs-title function_ invoke__\">array_unshift<\/span>( <span class=\"hljs-variable\">$options<\/span>, <span class=\"hljs-string\">&#039;fontselect&#039;<\/span>); <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-variable\">$options<\/span>; }<\/pre>\n<p>When you copy paste and save. Check and reload, you will see the image below is successful:<\/p>\n<figure id=\"attachment_9218\" aria-describedby=\"caption-attachment-9218\" style=\"width: 824px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9218\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-6.webp\" alt=\"How to add fonts to wordpress\" width=\"834\" height=\"404\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-6.webp 834w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-6-300x145.webp 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-6-768x372.webp 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><figcaption id=\"caption-attachment-9218\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<p>Next, I need to declare the following code into the file. <strong>function.php <\/strong>to declare the order of priority of fonts appearing in turn<\/p>\n<p><strong>In the example, I need to add the Fz Manchester Signature font, so I will declare it as below. You can replace it with your font name, for both fonts added from Google or fonts uploaded by yourself.<\/strong><\/p>\n<pre>function list_list_font_add( $settings ) { global $settings_list_font; $settings[&#039;font_formats&#039;] = &quot;Fz Manchester Signature=&#039;Fz Manchester Signature&#039;,sans-serif;&quot;. &#039;Arial=arial,helvetica,sans-serif;&#039;. &#039;Arial Black=arial black,avant garde;&#039;. &#039;Book Antiqua=book antiqua,palatino;&#039;. &#039;Comic Sans MS=comic sans ms,sans-serif;&#039;. &#039;Courier New=courier new,courier;&#039;. &#039;Georgia=georgia,palatino;&#039;. &#039;Helvetica=helvetica;&#039;. &#039;Impact=impact,chicago;&#039;. &#039;Symbol=symbol;&#039;. &#039;Tahoma=tahoma,arial,helvetica,sans-serif;&#039;. &#039;Terminal=terminal,monaco;&#039;. &#039;Times New Roman=times new roman,times;&#039;. &#039;Trebuchet MS=trebuchet ms,geneva;&#039;. &#039;Verdana=verdana,geneva;&#039;. &#039;Webdings=webdings;&#039;. &#039;Wingdings=wingdings,zapf dingbats;&#039;; $settings_list_font = $settings; return $settings; } add_filter(&#039;tiny_mce_before_init&#039;, &#039;name_list_font_add&#039;);<\/pre>\n<p>This <strong>\u201cFz Manchester Signature=&#039;Fz Manchester Signature&#039;,sans-serif<\/strong>;<strong>\u201d<\/strong>. is the font I added, if you look closely you will see it has accents <strong>\u201d<\/strong> but not <strong>&#039;<\/strong> As in the lines below, the purpose is to give the added font the highest priority. If you want a font to be at the top, you just need to add that font, rename it, and add a dot. <strong>\u201d<\/strong><strong>\u00a0<\/strong>and put it on the head<\/p>\n<p>After adding the code in order, in the text editor you will have the order as in the list below:<\/p>\n<figure id=\"attachment_9219\" aria-describedby=\"caption-attachment-9219\" style=\"width: 920px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9219\" src=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-7.webp\" alt=\"How to add fonts to wordpress\" width=\"930\" height=\"706\" title=\"\" srcset=\"https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-7.webp 930w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-7-300x228.webp 300w, https:\/\/how.congdongso.net\/wp-content\/uploads\/2024\/01\/cach-them-font-chu-vao-wordpress-vung-soan-thao-van-ban-10064-7-768x583.webp 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><figcaption id=\"caption-attachment-9219\" class=\"wp-caption-text\">How to add fonts to wordpress<\/figcaption><\/figure>\n<p><strong>Next:<\/strong> is also an equally important step. This section will help fonts work in admin<\/p>\n<p>You need to add more code to the file. <strong>function.php<\/strong> as follows:<\/p>\n<pre>function insert_css_vao_admin() { add_editor_style(get_stylesheet_directory_uri().&#039;\/addfont.css&#039; ); } add_action( &#039;admin_init&#039;, &#039;insert_css_input_admin&#039; );<\/pre>\n<p>You add the following code to run the font outside the interface:<\/p>\n<pre>add_action( &#039;wp_enqueue_scripts&#039;, &#039;chen_css_input_theme&#039; ); function insert_css_intro_theme() { wp_enqueue_style( &#039;add-font-family&#039;, get_stylesheet_directory_uri().&#039;\/addfont.css&#039;, array(),&#039;1.0.1&#039; ); }<\/pre>\n<p>You are done with this step. The fonts will now work consistently between your admin editor and your web interface.<\/p>\n<h2>Conclude:<\/h2>\n<p>So I have just guided you how to add fonts to wordpress in the text editor area. This is how to add fonts to the text editor area in WordPress. By following the above steps, you can easily customize the text appearance of your WordPress website by applying your own fonts.<\/p>\n<p>This helps you create a unique website that suits your style. Try to apply and take advantage of the flexibility that WordPress brings to create the website you want. Hope this article will help you a lot. If you find the article useful, don&#039;t forget to subscribe. <strong>channel <a href=\"https:\/\/fb.com\/howto.edu.vn\" target=\"_blank\" rel=\"noopener\">Facebook<\/a><\/strong> to get the latest news.<\/p>","protected":false},"excerpt":{"rendered":"<p>C\u00e1ch th\u00eam font ch\u1eef v\u00e0o wordpress. Khi b\u1ea1n \u0111\u00e1nh v\u0103n b\u1ea3n trong trong WordPress, th\u00ec khung so\u1ea1n th\u1ea3o l\u00e0 n\u01a1i b\u1ea1n t\u1ea1o v\u00e0 ch\u1ec9nh s\u1eeda n\u1ed9i dung cho trang web c\u1ee7a b\u1ea1n. Tuy nhi\u00ean t\u1ea1i khung so\u1ea1n th\u1ea3o wordppress \u0111\u00e3 c\u00f3 font s\u1eb5n nh\u01b0ng n\u00f3 c\u00f2n qu\u00e1 \u00edt kh\u00f4ng \u0111\u1ee7 cho c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 &hellip;<\/p>","protected":false},"author":2,"featured_media":20183,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[262,267,534],"class_list":["post-9096","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-font","tag-font-wordpress","tag-wordprees"],"_links":{"self":[{"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/posts\/9096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/comments?post=9096"}],"version-history":[{"count":1,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/posts\/9096\/revisions"}],"predecessor-version":[{"id":21443,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/posts\/9096\/revisions\/21443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/media\/20183"}],"wp:attachment":[{"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/media?parent=9096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/categories?post=9096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/how.congdongso.net\/en\/wp-json\/wp\/v2\/tags?post=9096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}