child theme
-
Hello, I´ve downloaded the ascent theme and now I wan to add a child theme, I´ve already donde this:
FUNCTIONS:
<?php
function ascent_high_priority_style() {
if (is_child_theme()) {
wp_enqueue_style(‘child-custom-css’, get_stylesheet_directory_uri() . ‘/child-custom.css’, array(), ‘1.0.9’, ‘all’);
}
}
add_action( ‘wp_enqueue_scripts’, ‘ascent_high_priority_style’, ‘999’ );?>
CHILD-CUSTOMS.CSS:
@import url(“../ascent/style.css”);
And the message I get is this one:
“The following themes are installed but incomplete. Themes must have a stylesheet and a template.”Can you help me to do it the right way please?
Regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘child theme’ is closed to new replies.
