css.folders is not been recognized by theme anymore!
-
hello,
I had entered this code in function.php:** * Register style sheet. */ function auto_repair_stylesheets() { wp_register_style( 'style.css', get_template_directory_uri() . '/style.css', array(), null, 'all' ); wp_register_style( 'app.css', get_template_directory_uri() . '/app.css', array(), null, 'all' ); wp_enqueue_style( 'style.css' ); wp_enqueue_style( 'app.css' ); } add_action( 'wp_enqueue_scripts', 'auto_repair_stylesheets' );
it was working for a while but now I see my theme is not recognizing this folders anu moer (style.ccs and app.css).
how it comes that this code was working and now is not working ?
thanks
johannes
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘css.folders is not been recognized by theme anymore!’ is closed to new replies.