slider autoplay

Hi, as there seems no autoplay in the slider (strange as you have to fill in speed etc.) I tried to follow the instructions on how to do this yourself by changing the CSS. Now my site is corrupted……...please help to fix this

<?php
/**
* @Theme Name : wallstreet Pro
* @file         : index-slider.php
* @package      : wallstreet-Pro
  @author       : webriti
* @filesource   : wp-content/themes/wallstreet/index-slider_centre.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 );
$animation= $current_options['animation'];
$animationSpeed=$current_options['animationSpeed'];
$direction=$current_options['slide_direction'];
$slideshowSpeed=$current_options['slideshowSpeed 9999999'];
<script>
jQuery(window).load(function(){
   jQuery('.flexslider').flexslider({ 
  animation: "<?php echo $animation; ?>",
  animationSpeed: <?php echo $animationSpeed; ?>
Tagged:

Comments

  • edited October 2019
    Hi
    Thanks for contacting to us.
    Undo all the changes you have made in index-slider.php file.
    Then follow the given below instruction.
    1 Find the index-slider.php file located in your theme folder.
    2 Open it  and find the below line of code on line no 26 .

     slideshowSpeed: 99999999,

    3 Remove this line of code.

    Let me know for any confusion.

    Thanks
    Akhilesh

  • Hi
    Did the above solution work for you .

    Thanks
  • yes this did work.  Thank you


    Although i expected an autoplay function would be standard, and not being done by changing a code. 
  • also, and I know this is perhaps a little off topic, that the slider is not suitable for mobile. It seems you can change this by altering the code but this should be not the way. Basically you could say this template is not responsive.  
  • edited September 2019
    Hi @mshansie
    For your next query pls  create separate ticket.Multiple query in single thread create complexity to handle better support query.

    Thanks 
    AKhilesh
This discussion has been closed.