Which code should I put into this theme’s child functions.php?
-
I want to create child theme of this plugin but there should be a mistake i put this code into child theme’s functions.php:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } endif;
This doesnt work. Why?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Which code should I put into this theme’s child functions.php?’ is closed to new replies.