Created
July 19, 2017 20:55
-
-
Save mikeyarce/a9f4ac0a8adfc75ac1453581da38e280 to your computer and use it in GitHub Desktop.
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