Error in functions.php
-
The following line in functions.php contains an error in the resource path:
add_editor_style( array( 'editor-style.css', scrawl_fonts_url(), get_template_directory_uri() . '/genericons/genericons.css' ) );
The path should include the fonts directory like so:
add_editor_style( array( 'editor-style.css', scrawl_fonts_url(), get_template_directory_uri() . '/fonts/genericons/genericons.css' ) );
Without the fonts directory as part of the path finding “genericons.css” fails and an error is presented every time the user attempts to edit an existing post.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error in functions.php’ is closed to new replies.