Explorar o código

fixed editor-style.css link

The default is `.........wp-content/themes/the-bones-theme/editor-style.css` = It does not exist.
the file is here: `.........wp-content/themes/the-bones-theme/css/editor-style.css`
elron %!s(int64=11) %!d(string=hai) anos
pai
achega
3e667ae5dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -22,7 +22,7 @@ Let's get everything up and running.
 function bones_ahoy() {
 
   //Allow editor style.
-  add_editor_style();
+  add_editor_style( get_stylesheet_directory_uri() . '/library/css/editor-style.css' );
 
   // let's get language support going, if you need it
   load_theme_textdomain( 'bonestheme', get_template_directory() . '/library/translation' );