Custom Stylesheet URI now breaks theme
-
For my themes, I usually define a custom stylesheet uri like so (class based):
add_filter( 'stylesheet_uri', 'stylesheet_uri', 10, 2 ); function stylesheet_uri( $stylesheet_uri, $stylesheet_dir_uri ) { return $stylesheet_dir_uri . '/css/style.css'; }
This seems to be no longer working, as the theme is broken now in the admin screen. WP seems to expect a style.css in the root of the theme folder now.
However the styles are correctly applied from the file css/style.css
Can anyone confirm this?
Thanks, Paddelboot
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom Stylesheet URI now breaks theme’ is closed to new replies.