Child Theme – big problem
-
Hi
I have theme and OptionTree is included in theme. I have directory “option-tree” in theme directory. In my theme’s functions.php i have:
// Option Tree - BEGIN /** * Required: set 'ot_theme_mode' filter to true. */ add_filter( 'ot_theme_mode', '__return_true' ); /** * Required: include OptionTree. */ require( trailingslashit( get_stylesheet_directory() ) . 'option-tree/ot-loader.php' ); /** * OptionTree in Theme Mode */ # require( trailingslashit( get_stylesheet_directory() ) . 'option-tree/ot-loader.php' ); /** * Theme Options */ require( trailingslashit( get_stylesheet_directory() ) . 'inc/theme-options.php' ); /** * Meta Boxes */ require( trailingslashit( get_stylesheet_directory() ) . 'inc/meta-boxes.php' ); /** * Theme Customizer */ require( trailingslashit( get_stylesheet_directory() ) . 'inc/customizer.php' ); /** * Demo Functions (for demonstration purposes only!) */ require( trailingslashit( get_stylesheet_directory() ) . 'inc/functions.php' ); // Option Tree - ENDI’ve created child theme but with functions.php:
add_filter( 'ot_child_theme_mode', '__return_true' );
i have in child theme directory directories: “option-tree” and “inc” (the same files like in parent theme)My problem is when i want to change color in parent theme like that: http://screencast.com/t/2Coi3Ity5 this color is changing in child theme too.
When i change color in child theme it’s also changing in parent theme.What am i doing wrong?
Best Regards
ML
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Child Theme – big problem’ is closed to new replies.