Child Theme creation help
-
Hi all,
I’m busy creating a child theme and have put the info below in my style and functions files. I zip them and upload via wp theme upload, the upload fails each time. What am I doing wrong?Note I want the child theme name to be ‘aaa’ only. The parent theme I am using is ColorMag.
Child theme
———–STYLE.CSS
/* Theme Name: aaa Theme URI: https://www.aaa.com Description: aaa Author: aaa Author URI: https://aaa.com Template: ColorMag Version: 1.0.0 License: GNU General Public License v2 or later Text Domain: lmfpo */
And this in my FUNCTIONS.PHP
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Child Theme creation help’ is closed to new replies.