Child Theme not working.
-
So I tried to make a child theme with no success.
1/ I copied the style.css file and changed a few things in the comment section :
Theme Name: Baskerville Child
Text Domain: baskerville Child2/ I copied index.php
3/ I add a function.php with these lines :
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’);
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’);}
?>But when accessing the site, it does not work : articles not displayed, menu logo/images not visible, etc…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Child Theme not working.’ is closed to new replies.