Wrong function used to enqueue style
-
In your functions.php file you used function
blogotron_scripts_styles()
to import style.css file. You used functionget_template_directory_uri
, but you should have usedget_stylesheet_directory_uri
.In the event that a child theme is being used, the parent theme directory URI will be returned. get_template_directory_uri() should be used for resources that are not intended to be included in/over-ridden by a child theme. Use get_stylesheet_directory_uri() to include resources that are intended to be included in/over-ridden by the child theme.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Wrong function used to enqueue style’ is closed to new replies.