• 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:
    funtions.php
    index.php
    ie.css
    mobile.css
    style.css

    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_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/’);
    }

    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: http://www.towfiqi.com/zenon-lite-free-wordpress-theme.html
    Author: Towfiq I.
    Author URI: http://www.towfiqi.com/
    License: GNU General Public License, v2 (or newer)
    License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    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: http://www.towfiqi.com/zenon-lite-free-wordpress-theme.html
    Author: unicaz
    Author URI: http://www.paisajismotamasirt.com/
    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.

    Unicaz

    Website: http://www.paisajismotamasirt.com

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