Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Remove the Adventure Journal parent style.css and add the child theme's style.css
- add_action( 'wp_print_styles' , 'mh_remove_parent_css' , 50 );
- function mh_remove_parent_css() {
- wp_dequeue_style( 'theme' );
- wp_enqueue_style( 'child-theme' , get_bloginfo( 'stylesheet_directory' ) . '/style.css' , '' , '' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement