BUG: Style path wrong for child themes
-
File: includes/theme-scripts.php
Line: 9Old:
wp_register_style( 'graphene-stylesheet', get_stylesheet_uri(), array(), false, 'screen' );
New:wp_register_style( 'graphene-stylesheet', GRAPHENE_ROOTURI . '/style.css', array(), false, 'screen' );Description:
get_stylesheet_uri()points to the current theme (e.g. child) file instead of the graphene theme file which is located inGRAPHENE_ROOTURIwhich isget_template_directory_uri().
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘BUG: Style path wrong for child themes’ is closed to new replies.
