• Hello I Was Hoping To Put A Slider In The Area Where The Header Image Is, I Have A Slider Plugin That Uses A PHP Code. Also Could This Be Dynamic?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi.,

    If you have use a slider plugin you need to update header area of this child theme, May i know your slider plugin name?

    If you want further help I’ll be happy to assist.

    Thanks.,
    Rajan V

    Thread Starter wvgv

    (@wvgv)

    smart slider

    Thread Starter wvgv

    (@wvgv)

    How Would I Go About Updating The Header Area?

    Add this code to your child theme index-static-banner.php

    <!-- wallstreet Main Slider --->
    <?php $wallstreet_pro_options=theme_data_setup();
    	  $current_options = wp_parse_args(  get_option( 'wallstreet_pro_options', array() ), $wallstreet_pro_options ); ?>
    <!-- /Slider Section -->
    <div class="homepage_mycarousel">
    	<div class="static-banner">
    
    		<?php echo do_shortcode('[smartslider3 slider=1]');?>
    	<!-- <?php if($current_options['home_banner_enabled'] == true) { ?>
    				
    					<?php if($current_options['slider_image']){ ?>
    					<img class="img-responsive" alt="Sleek & Beautiful" src="<?php echo esc_url($current_options['slider_image']); ?>">
    					<?php } ?>
    					<div class="flex-slider-center">
    					<?php if($current_options['slider_title_one']){ ?>
    						<div class="slide-text-bg1"><h2><?php echo esc_html ($current_options['slider_title_one']); ?></h2></div>
    						<?php } ?>
    						<?php if($current_options['slider_title_two']){ ?>
    						<div class="slide-text-bg2"><h1><?php echo esc_html ($current_options['slider_title_two']); ?></h1></div>
    						<?php } ?>
    						<?php if($current_options['slider_description']) { ?>
    						<div class="slide-text-bg3"><p><?php echo esc_html ($current_options['slider_description']); ?></p></div>
    						<?php } ?>
    					</div>
    				
    			<?php } ?> -->
    	</div>
    </div>
    <!-- /wallstreet Main Slider --->
    Thread Starter wvgv

    (@wvgv)

    Not finding index-static-banner.php

    @wvgv its located on your parent theme, You need to copy and paste it your child theme with this modification.

    Thanks
    Rajan V

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Slider In Header Area’ is closed to new replies.