Viewing 1 replies (of 1 total)
  • What you’ll need to do is:

    1. Create a child theme. This way when the Coller theme updates, your customizations won’t get overwritten.
    2. Within the child theme, create a file named slider-bx.php.
    3. Copy and paste this code into the file and save:
      <?php
          if ( (function_exists( 'of_get_option' )) && (of_get_option('slidetitle5',true) !=1) ) {
      	if ( ( of_get_option('slider_enabled') != 0 ) && ( (is_home() == true) || (is_front_page() ==true) ) )
      		{ ?>
          <div id="slider-wrapper">
          <ul class="bxslider">
          	<?php
      		  		$slider_flag = false;
      		  		for ($i=1;$i<6;$i++) {
      					if ( of_get_option('slide'.$i, true) != "" ) {
      						echo "<li><a href='".esc_url(of_get_option('slideurl'.$i, true))."' target='"._blank."'><img src='".of_get_option('slide'.$i, true)."' title='".of_get_option('slidetitle'.$i, true)."'></a></li>";
      						$slider_flag = true;
      					}
      				}
                 ?>
           </ul>
      	</div>
      
          <?php }
      	}
      ?>

    Amy

Viewing 1 replies (of 1 total)
  • The topic ‘Have Slider URL open in new window’ is closed to new replies.