• 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)
  • Moderator Kathryn Presner

    (@zoonini)

    Thanks for the heads-up on the incorrect path – we’ll get it fixed up in the next version of Scrawl.

    I wasn’t able to replicate the error on editing an existing post, but this should still be fixed. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Error in functions.php’ is closed to new replies.