Support » Themes and Templates » child zenon-lite theme

  • Hi there. First of all I want to thank you for your zenon lite theme, so cute and easy to manage!
    I have a problem to create a child theme. Please, read all my steps and tell me what am I doing wrong!

    1.- I Created a folder with files:

    2.- In funtions.php I did what I read here:
    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_DIRECTORY’, get_stylesheet_directory_uri() . ‘/admin/’);
    } else {
    define(‘OPTIONS_FRAMEWORK_URL’, TEMPLATEPATH . ‘/admin/’);
    define(‘OPTIONS_FRAMEWORK_DIRECTORY’, get_template_directory_uri() . ‘/admin/’);

    and a copy and paste this file: funtion.php in father theme.

    3.- Index.php I left it like it is. Nothing changed.

    4.- In file style.css instead of:
    Theme Name: Zenon Lite
    Description: Zenon Lite is an all in one wordpress theme with 3 awesome fonts, slider, background image easy to use theme option panel. The Theme also includes 3 built-in widgets and 5 useful shortcodes. The theme is SEO Friendly and has plenty of user-friendly options. The theme also comes with a Full-width page, Left Sidebar Page and a Contact page Template which doesn’t require any setup. Zenon Lite is suitable for any business or personal website.
    Version: 1.1
    Theme URI:
    Author: Towfiq I.
    Author URI:
    License: GNU General Public License, v2 (or newer)
    License URI:
    Tags: theme-options, one-column, dark, blue, red, white, right-sidebar, left-sidebar, custom-background, custom-menu

    I typed this:

    Theme Name: Tamasirt
    Description: Tamasirt
    Version: 1.1
    Theme URI:
    Author: unicaz
    Author URI:
    Theme: zenon-lite
    @import url(“../zenon-lite/style.css”);
    @import url(“../zenon-lite/ie.css”);
    @import url(“../zenon-lite/mobile.css”);

    5.- I zip the folder and uploaded with WordPress (install theme).

    Please, I’m desperate! I tried a lot of choises more but nothing works.

    Sorry for my English, i’m spanish! Thank you for your attention.



  • The topic ‘child zenon-lite theme’ is closed to new replies.