This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'storefront_before_content', 'marce_custom_slider_storefront' ); | |
function marce_custom_slider_storefront() { | |
if ( is_front_page() ) { | |
echo do_shortcode("[metaslider id=586]"); | |
} | |
else {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment