Home › Forums › All Other Themes › Adventure child theme
- This topic has 1 reply, 2 voices, and was last updated 4 years, 4 months ago by
Sonl Sinha.
-
AuthorPosts
-
May 1, 2020 at 8:08 am #150803
Hello,
i am note able to create a child theme for adventure :
I create a directory adventure-child, then put style.css and function.php and modify inside like this :
style.css
/*
Theme Name: adventure-child
Template: adventure
Theme URI: https://www.sktthemes.org/shop/adventure-wordpress-theme/
Description: Adventure WordPress theme has been designed and created to cater to the needs of those who create adventure sports websites and adventure tourism websites like skiing, ice skating, trekking, mountaineering, cycling, bike riding and others. Demo: http://sktperfectdemo.com/demos/adventure/Author: SKT Themes
Author URI: https://www.sktthemes.org
Version: pro3.0
License: GNU General Public License
License URI: license.txtText Domain: Adventure
Tags: one-column, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, front-page-posting, full-width templateRTL, language-support, sticky-post, theme-options, threaded-comments, translation-ready.Adventure WordPress Theme has been created by SKT Themes(sktthemes.net), 2018.
Adventure WordPress Theme is released under the terms of GNU GPL
*/Function.php
<!–A placer dans functions.php pour initialiser un thème enfant–>
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ) );
}but its broke my home page and all the feature don’t work anymore …
could you please help ?
regards,
Cyrille
May 1, 2020 at 8:40 am #150898Hi,
Kindly send us your URL of the site and WordPress admin details (Username & Password) via email:[email protected] Please mention this forum URL while replying so that we understand what needs to be done.
We’ll check and revert back to you.
Regards,
Chris -
AuthorPosts
- You must be logged in to reply to this topic.