May 27, 2015 at 9:10 pm
#25181
Dale
Participant
Hello, after backing up my site and following the instructions at the link you provided, I have the child theme installed. I tried copying the content-extensions.php file into my \ultimate-pro-child\inc\structure\ folder and modifying it there (deleting lines 276 to 287) but it did not create the desired effect.
style.css:
/*
Theme Name: Ultimate Pro Child
Template: ultimate-pro
Version: 1.0.0
Text Domain: ultimate-pro-child
*/
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' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
} ?>
I need to know how to fit your changes into this child theme. Thanks.