Kadence child theme
This documentation can help you put a slider under the top header of the Kadence theme.
- 1
-
Go to the FTP of your website and create a child folder
/wp-content/themes/kadence-child/
- 2
-
Create a style.css file in this folder
/wp-content/themes/kadence-child/style.css
and write this code in it:
/* Theme Name: Kadence Child Template: kadence */
- 3
-
Create a functions.php file
/wp-content/themes/kadence-child/functions.php
Write this code in it, just replace the shortcode with your slider's:
<?php function smart_slider_header(){ echo do_shortcode('[smartslider3 slider=1]'); } add_action('kadence_hero_header', 'smart_slider_header', 1);
This will put the slider under your menu. If you want it under the page title, at add_action increase the number 1 to 11.
- 4
-
Activate your child theme