child theme
-
hi
i entered the following code Twenty Twenty-one_child folder and i ended up with two headers, php isnt my stong pointTheme Name: Twenty Twenty-0ne_Child Theme URL: https://yourdomain.com Description: Twenty Twenty-0ne_Child Theme Author: Your Name Author URL: https://yourdomain.com Template: twentytwentyone Version: 1.0.0 Text Domain: Twenty Twenty-0ne_Child
<?php
add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_styles’ );
function enqueue_parent_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
}
?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘child theme’ is closed to new replies.