How to Change WordPress Editor Font in HTML Mode

I've always been annoyed by the font of the visual editor, which is used by default in WordPress in HTML mode – Well, it doesn't fit technical texts.. Went through a bunch of plugins, and didn't find one, directly changing the font in the editor. Yet the search has borne fruit. – It turns out you can change the font at all without plugins.

Как изменить шрифт редактора WordPress в режиме HTML

To change the font in the WordPress editor, running in HTML mode, on that, which you like, you can apply a filter, using functions.php file. Paste this code into this file:

Then refresh the admin page – the font will change.

Как изменить шрифт редактора WordPress в режиме HTML

I advise you to look at the article on the official WordPress site about the function add_editor_style(‘custom-editor-style.css’). This feature allows you to change styles in WordPress' built-in visual editor..

The article was taken from the site: n-wp.ru


Buy WordPress hosting
WordPress tutor
Online tutoring services. List of courses I teach
  • Basic web design course;
  • Site layout;
  • General course on CMS WordPress and continuation of the course on template development;
  • Website development in PHP.
Read more on the page WordPress tutor
*/

Nikolaenko Maxim

Director of web studies ProGrafika. I am developing, website design and promotion. Always glad to new blog readers and good clients.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Templates for WordPress
The best hosting in Ukraine
Stable hosting for Drupal