[Theme: Zenon Lite] Creating a child theme for Zenon-Lite does not work… easy fix:
-
When creating a child theme for Zenon-Lite, there is a scrap of code that breaks inheritance. Fix as follows:
in functions.php,
Change lines 412 to 418 to the following:
if ( ( STYLESHEETPATH != TEMPLATEPATH ) && ( is_dir( get_stylesheet_directory_uri() . '/admin/' ) ) ) { define('OPTIONS_FRAMEWORK_URL', STYLESHEETPATH . '/admin/'); define('OPTIONS_FRAMEWORK_DIRECTORY', get_stylesheet_directory_uri() . '/admin/'); } else { define('OPTIONS_FRAMEWORK_URL', TEMPLATEPATH . '/admin/'); define('OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/admin/'); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Theme: Zenon Lite] Creating a child theme for Zenon-Lite does not work… easy fix:’ is closed to new replies.