Child theme not working

Home Forums All Other Themes Child theme not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #88191
    Greg
    Member
    • Topics: 8
    • Replies: 21
    • Total: 29
    Member since: February 7, 2016

    Hi SKT,

    I’m using the SKT Restaurant Pro theme and trying to set up a child theme. I have created both style.css and functions.php files in a new theme folder called skt-restaurant-pro-child but it’s not working. Could you please tell me what I’m doing wrong? Here is my child theme code:

    style.css
    /*
    Theme Name: SKT Restaurant Pro Child
    Theme URI: http://www.roamindonesia.com/skt-restaurant-pro-child
    Author: Melissa Kuipers
    Author URI: Melissa Kuipers
    Template: SKT Restaurant Pro
    Description: SKT Restaurant Child Theme
    Version: 1.0.0
    Text Domain: skt_restaurant
    Tags: black,gray,orange,brown,white,yellow,dark,one-column,two-columns,right-sidebar,responsive-layout,custom-background,custom-colors,custom-menu,sticky-post,theme-options,threaded-comments
    */

    functions.php
    <?php
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_styles’ );
    function enqueue_parent_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
    }
    ?>

    #88283
    SKT Themes
    Keymaster
    • Topics: 8
    • Replies: 6817
    • Total: 6825
    Member since: June 12, 2013

    Hi,

    Kindly use custom CSS box in Appearance>theme options for your Custom CSS and use the original theme itself.

    Our themes aren’t automatically updated but we send manual updates so at no time your changes would be removed unless you make changes to a particular file.

    Regards,
    Shri

    #88350
    Greg
    Member
    • Topics: 8
    • Replies: 21
    • Total: 29
    Member since: February 7, 2016

    Hi Shri,

    I need to make changes to the .php files so Appearance>theme options for Custom CSS won’t suffice.

    Regards,

    Greg

    #88499
    SKT Themes
    Keymaster
    • Topics: 8
    • Replies: 6817
    • Total: 6825
    Member since: June 12, 2013

    Hi Greg,

    Feel free to make changes to the PHP files then. Our updates are not automatic but manual so no worries of your customization getting removed.

    Regards,
    Shri

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.