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
-
AyaClubPro – Responsive Club WordPress Theme$29.99
-
AyaPsychologyPro – Responsive Psychology WordPress Theme$24.99
-
AyaBooksPro – Responsive Books WordPress Theme$24.99
-
AyaHandmadePro – Responsive Handmade WordPress Theme$29.99
-
VeganPro – Responsive Vegan WordPress Theme$29.99
-
AyaMedicinePro – Responsive Medicine WordPress Theme$32.99
-
AyaHairSalonPro – Responsive Hair Salon WordPress Theme$31.99
-
AyaSpiritPro – Responsive Spiritual WordPress Theme$24.99
-
TourPro – Responsive Traveling WordPress Theme$24.99
-
AyaPortfolioPro – Responsive Portfolio WordPress Theme$24.99
-
LandshaftingPro – Responsive Landshafting WordPress Theme$29.99
-
AyaPhotographyPro – Responsive Photography WordPress Theme$24.99
-
AyaFreelancePro – Responsive Freelance WordPress Theme$24.99
-
Cover Book Mockup Design$4.00
Leave a Reply