
-
AuthorPosts
-
June 24, 2014 at 10:23 pm #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.
June 24, 2014 at 11:49 pm #283314Hey!
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,
JosueJune 25, 2014 at 3:30 am #283380LOL, 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.
June 25, 2014 at 3:43 am #283383Hey!
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!
JosueJune 25, 2014 at 6:04 pm #283695Are 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.
June 25, 2014 at 11:06 pm #283803Hi 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!
JosueJune 25, 2014 at 11:26 pm #283808Unfortunately 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.
June 26, 2014 at 12:03 am #283817We looking forward to hearing from you :)
Regards,
JosueJune 26, 2014 at 6:12 pm #284204I’ve reached a point where I just have to give up on this.
-
This reply was modified 10 years, 11 months ago by
-
AuthorPosts
- The topic ‘Would like slides in the fullscreen slider to display in random order’ is closed to new replies.