Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'storefront_before_content', 'add_olaf_slider' );
- function add_olaf_slider() {
- if ( is_front_page() ) {
- echo do_shortcode('[simpleslider location="homepage" animation="slide" slideshowspeed="5"]');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement