Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1463449

    Hi
    I include a link to this staging site. Under section ‘Our Services’

    I am using the Easy Slider element. I will up to have 5 images on autorotation, each image has an assigned link

    I would like the rotation to pause on mouse hover, is this possible please?..

    Kind regards

    Mark

    #1463456
    #1463461

    Thank you Guenni007

    Where exactly do I copy and paste this code please?.. thank you

    function change_slide_options($defaults){
    $defaults[‘hoverpause’] = true;
    return $defaults;
    }
    add_filter(‘avf_avia_slideshow_defaults’,’change_slide_options’, 10, 1);

    #1463467

    try on child-theme functions.php:

    as written on orig Post.

    and use it as (with $default) ( and maybe sitespecifc – to not influence all sliders )

    function change_slide_options($default){
    	if(is_page(12345)){
    		$default['hoverpause'] = true ;
    	}
      return $default;
    }
    add_filter('avf_avia_slideshow_defaults','change_slide_options', 10, 1);
    #1463530

    Hi,

    Thank you Guenni007 ..I have place this code within function.php but unfortunately it does not work.

    Has the support team got any ideas?..

    Kind regards

    #1463573

    Hi,

    Thank you for the update.

    The filter works properly on our end. Have you tried removing the conditional function is_page?

    function avf_avia_slideshow_defaults_mod($default)
    {
        $default['hoverpause'] = true;
        return $default;
    }
    add_filter('avf_avia_slideshow_defaults', 'avf_avia_slideshow_defaults_mod', 10, 1);

    Best regards,
    Ismael

    #1463618

    Hi Ismal

    The filter works perfectly. Thank you very much

    Kind Regards

    Mark

    #1463641

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1463645

    Hi Rikard,

    No further help required. Thank you. You may close this topic.

    Kind regards

    Mark

    #1463650

    but you read that

    and maybe sitespecifc – to not influence all sliders

    my code above works for that page-id: 12345

    if you use the global code from Ismael every slider ( easy-slider, fullwidth-slider, fullscreen-slider etc. will have that hoverpause.
    That is only the difference.

    #1463661

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Easy Slider ‘Mouse Hover’’ is closed to new replies.