i tried ‘Child Theme Creator by Orbisius’, didn’t work.
I like this theme, and want to keep some personal css settings even when updated with your newest version. Is it possible for you to add a child theme by default.
Thanks for your nice work!
Hi @hola12345678,
The following modifications are required to inherit the stylesheet of the parent theme.
Change the stylesheet link on line 23 in functions.php generated by ‘Child Theme Creator by Orbisius’ plugin.
style.css -> /css/style.min.css
wp_enqueue_style( $parent_style,
get_template_directory_uri() . '/style.css',
array(),
wp_get_theme( $parent_base_dir ) ? wp_get_theme( $parent_base_dir )->get('Version') : ''
);
...
wp_enqueue_style( $parent_style,
get_template_directory_uri() . '/css/style.min.css',
array(),
wp_get_theme( $parent_base_dir ) ? wp_get_theme( $parent_base_dir )->get('Version') : ''
);
-
This reply was modified 8 months, 1 week ago by
thingsym.
Hi @hola12345678 ,
I am the creator of Orbisius child theme creator?.
how exactly didn’t work the plugin?
Did you see an error or something?
If there’s a bug let me know
@thingsym @lordspace
Thanks for the quick response. problem soloved!!!
have a good day guys.
so the problem was loading style.min.css file ?