- This topic has 3 replies, 2 voices, and was last updated 3 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Child theme not working
Tagged: Child-theme, SKT Restaurant Pro
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’ );
}
?>
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
Hi Shri,
I need to make changes to the .php files so Appearance>theme options for Custom CSS won’t suffice.
Regards,
Greg
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
Optimize your website search form for better customer satisfaction If your website is large and great content that has chances to grow, you need a […]
Individuals always want to, but are often confused about how to monitor user activity in WordPress? There are always challenges like managing editorial workflow or […]
These days the competition is at its peak. Everyone wants to do their best to beat their rivals. If you need to do better in […]