How to pause the flexislider as default in G2?

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #478252

    Henriette Birk
    Full Member
    Post count: 31

    Hi,
    I have a script from earlier (see below) support with V1 to pause the Flexslider when you look at a directory post.

    How/where to you place the script (see below) in V2?
    Is this the best script to use in V2 for this purpose?
    Is a script such as this called a short code?

    ——
    Footer script code:
    <script>
    jQuery(window).load(function() {
    if(jQuery(‘#geodir_slider’).length){
    jQuery(‘#geodir_slider’).flexslider(“pause”);
    }
    });
    </script>

    #478255

    Alex Rollin
    Moderator
    Post count: 27815

    For the GD Post Images you have an option to turn off autostart. Give it a try and let us know how it goes.

    #480631

    Henriette Birk
    Full Member
    Post count: 31

    Thank you. Could you let me know where to find that option please?

    #480859

    Alex Rollin
    Moderator
    Post count: 27815

    slideshow=”0″ will turn off the autostart feature.

    You can find it in any GD shortcode builder.

    Edit the GD Detail template and add a new shortcode for gd_post_images.

    Use that shortcode in place of the one that is already there to disable autostart.

    For example:

    
    
    
    [gd_post_images type="slider" ajax_load="1" slideshow="0" show_title="1" animation="fade" controlnav="2" link_to="lightbox" show_logo="1" image_size="full"]
    
Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket