Child Theme Mystery
-
I know Eksell is an outdated theme , yet the build is simple nd effective…
HOWEVER I wanted to find out what code is being used to create a child theme as nothing seems to be working for me?
Is this accurate?function eksell_child_enqueue_styles() {
wp_enqueue_style('eksell-parent-style', get_template_directory_uri() . '/style.css');
wp_enqueue_style('eksell-child-style', get_stylesheet_directory_uri() . '/style.css', array('eksell-parent-style'));
}
add_action('wp_enqueue_scripts', 'eksell_child_enqueue_styles');
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.