1,723
edits
m |
m |
||
Line 6: | Line 6: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* Then add the following code to the theme's (parent or child) functions.php file; | *Then add the following code to the theme's (parent or child) functions.php file; | ||
<syntaxhighlight lang="text"> | |||
function alternate_font() | |||
{ | |||
add_editor_style( 'tinymce_font.css' ); | |||
} | |||
add_action( 'after_setup_theme', 'alternate_font' ); | |||
</syntaxhighlight>Source from: https://premium.wpmudev.org/forums/topic/make-my-default-fonts-as-arial-from-georgia-in-the-text-editor/ |