A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.
Reference: https://codex.wordpress.org/Child_Themes
In some case you may need to create a child theme for our themes. Here are all of the necessary steps:
The good news is that our themes follow the official WordPress code guidelines. So, you can easily create a child theme, here are all of the necessary steps: 1. create a new folder for your child theme
2. add style.css file into your child theme folder. Here’s an example content for the file:
/*
Theme Name: tArt Child
Theme URI: https://tishonator.com/product/tart
Description: tArt Theme
Author: Tihomir Ivanov
Author URI: https://tishonator.com
Template: tart
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: tishonator
*/
3. Add functions.php file into your child theme folder. Here’s an example content for the file:
<?php
add_action( ‘wp_enqueue_scripts’, ‘tartchild_enqueue_styles’ );
function tartchild_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
?>
The above function load the parent (the original) theme stylesheets
4. Login to Admin Panel and navigate to Left Menu -> Appearance -> Themes, then activate your newly created Child theme.
5. After activating the theme, the slider images will have to be re-configured. Navigate to Admin Panel -> Left Menu -> Appearance -> Customize -> Slider Section. Then set images for Slides.
Best-selling Products:
-
All Premium WordPress Themes$51.00
-
Product on saleResponsive Club WordPress Theme – AyaClubProOriginal price was: $29.99.$25.00Current price is: $25.00.
-
Responsive Psychology WordPress Theme – AyaPsychologyPro$24.99
-
Responsive Books WordPress Theme – AyaBooksPro$24.99
-
Product on saleResponsive Handmade WordPress Theme – AyaHandmadeProOriginal price was: $29.99.$25.00Current price is: $25.00.
-
Product on saleResponsive Vegan WordPress Theme – VeganProOriginal price was: $29.99.$25.00Current price is: $25.00.
-
Responsive Medicine WordPress Theme – AyaMedicinePro$32.99
-
Product on saleResponsive Hair Salon WordPress Theme – AyaHairSalonProOriginal price was: $31.99.$25.99Current price is: $25.99.
-
Responsive Spiritual WordPress Theme – AyaSpiritPro$24.99
-
Responsive Traveling WordPress Theme – TourPro$24.99
-
Responsive Portfolio WordPress Theme – AyaPortfolioPro$24.99
-
Product on saleResponsive Landshafting WordPress Theme – LandshaftingProOriginal price was: $29.99.$25.00Current price is: $25.00.
-
Responsive Photography WordPress Theme – AyaPhotographyPro$24.99
-
Responsive Freelance WordPress Theme – AyaFreelancePro$24.99
-
Cover Book Mockup Design$4.00
Leave a Reply