Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
- function enqueue_parent_theme_style() {
- wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
- wp_enqueue_style( 'child-style', get_stylesheet_directory_uri().'/style.css' );
- }
- produces error
- Fatal error: Call to undefined function wp-enqueue-style in /home/user/public_html/wp-content/themes/Divi-SuperiorIT/functions-php on line 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement