Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Displays header media
- *
- * @package WordPress
- * @subpackage Twenty_Seventeen
- * @since Twenty Seventeen 1.0
- * @version 1.0
- */
- ?>
- <div class="custom-header">
- <div class="custom-header-media">
- <?php
- if( is_home() || is_front_page() ) {
- echo do_shortcode('[smartslider3 slider="2"]');
- } else {
- echo do_shortcode('[smartslider3 slider="3"]');
- }
- ?>
- </div>
- <?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
- </div><!-- .custom-header -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement