Enqueue not working in child theme
-
Very strange, the child doesnt work in this case, but its the exact copy of an earlier site that works perfectly. I cant get the styles I have in my child folder to have any influence over the theme.
functions.php
<?php /* enqueue scripts and style from parent theme */ function twentytwenty_styles() { wp_enqueue_style( 'parent', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'twentytwenty_styles'); ?>style.css
/* Theme Name: Accend Twenty Twenty Child Theme Theme URI: https://www.accend4web.co.uk Description: A child theme for Twenty Twenty. Author: Accend Web Solutions Author URI: https://www.accend4web.co.uk Template: twentytwenty Text Domain: twentytwenty-child Version: 1.0.0 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html */The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Enqueue not working in child theme’ is closed to new replies.
