Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #283278

    I’m using the “Fullscreen Slider” included in the Avia Layout Builder of the Enfold theme to insert a 4-slide slideshow on a site. The client would like the slides to display in random order. I’ve looked around in the settings and the template code and can’t seem to find a way to make this happen. Is there a way to make these slides display randomly? Thanks.

    #283314

    Hey!

    That featured is not available at the moment, if you really need it you would have to contact a developer for the job, also feel free to request it here.

    Alternatively, you could use a LayerSlider slideshow which have this option built-in.

    Best regards, 
    Josue

    #283380

    LOL, I *am* the developer. Do you at least know which file in the theme is outputting the fullscreen slider code? Line 301 in “config-templatebuilder/avia-shortcodes/slideshow.php” had seemed promising because it has an “orderby” parameter within a get_posts() call, but modifying that didn’t change the slide order.

    #283383

    Hey!

    That’s great Katrina. The file you mentioned is used to handle the Easy Slider element, as you are using the Fullscreen Slider the file to edit would be:

    /config-templatebuilder/avia-shortcodes/slideshow_fullscreen.php

    Cheers!
    Josue

    #283695

    Are you sure that’s the file that is outputting the content on the home page? Because I just renamed it to “slideshow_fullscreen-off.php” as an experiment and the slider on the home page is still rendering fine.

    • This reply was modified 10 years, 11 months ago by katbean.
    #283803

    Hi Katrina!

    Yes, i’m pretty sure that is the file that handles that shortcode, renaming won’t make the slider break because it is included into the framework no matter the filename (try emptying it).

    Although the fullscreen slideshow gets rendered on line 542-547 of /config-templatebuilder/slideshow_fullscreen.php, it uses an object (avia_slideshow) declared in line 342 of /config-templatebuilder/avia-shortcodes/slideshow.php, so this would be the definitive file to edit if you want to do it (i still keep my recommendation to use LayerSlider to avoid this time-consuming task).

    Cheers!
    Josue

    #283808

    Unfortunately the LayerSlider you recommend does not have a parallax effect and the client is insistent on having that effect. If there’s a way to implement that in the LayerSlider, let me know. Otherwise the only option seems to be trying to edit the Fullscreen Slider which does have a parallax effect.

    Thanks for the info on the slider files. I’ll let you know if I’m able to figure out how to randomize the Fullscreen Slider.

    #283817

    We looking forward to hearing from you :)

    Regards,
    
Josue

    #284204

    I’ve reached a point where I just have to give up on this.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Would like slides in the fullscreen slider to display in random order’ is closed to new replies.