Meteorite child theme
This documentation can help you replace the Meteorite theme homepage header image with our slider.
- 1
-
Go to the FTP of your website and create a child folder
/wp-content/themes/meteorite-child/
- 2
-
Create a style.css file in this folder
/wp-content/themes/meteorite-child/style.css
and write this code in it:
/* Theme Name: Meteorite child theme Template: meteorite */ @import url('../meteorite/style.css');
- 3
-
Create a functions.php file
/wp-content/themes/meteorite-child/functions.php
Write this code in it, just replace the shortcode with your slider's:
<?php function meteorite_header_hero_area() { echo do_shortcode('[smartslider3 slider=1]'); }
- 4
-
Activate your child theme