Procházet zdrojové kódy

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 před 11 roky
rodič
revize
3e667ae5dd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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' );