Tag Info

Hot answers tagged

1

Twenty fourteen loads its stylesheets differently in that it made the main stylesheet dependant on the genericon stylesheet, and I'm sure that this is the problem you are experiencing. (if not, please update your question with proper details) You can change how you enqueue your style in the first block of code as follow wp_enqueue_style( 'parent-style', ...


1

Check this codex page. In the event that a child theme is being used, the parent theme directory URI will be returned. So if you want to include your other css files you just need to all your CSS files: add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent', ...


1

You have two options here In a child theme, dequeue and deregister the scripts and style you are not going to need. Just remember to hook your function to wp_enqueue_scripts with a lower priority (higher number) Use the twentyfifteen as a base to a new theme. I have successfully used bundled themes in the past to create new, selfstanding themes. That is ...



Only top voted, non community-wiki answers of a minimum length are eligible