[Plugin: Meta Slider] How do I add a Header Slideshow?
-
Hello!
I want to add a header picture slideshow above my content on my home page. I have Meta Slider and tried adding the code to my home.php and index.php but nothing happened. I’m using the courage theme. Where should I paste this code?
?> <?php echo do_shortcode("[metaslider id=488]"); ?>
This is my home.php
<?php get_header(); ?> <?php // Get Theme Options from Database $theme_options = courage_theme_options(); // Display Featured Post Slideshow if activated if ( isset($theme_options['slider_active_blog']) and $theme_options['slider_active_blog'] == true ) : get_template_part( 'featured-content-slider' ); endif; <div id="wrap" class="clearfix"> <section id="content" class="primary" role="main"> <?php if ( function_exists( 'themezee_breadcrumbs' ) ) themezee_breadcrumbs(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); get_template_part( 'content', $theme_options['posts_length'] ); endwhile; courage_display_pagination(); endif; ?> </section> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>
- The topic ‘[Plugin: Meta Slider] How do I add a Header Slideshow?’ is closed to new replies.