Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Addons
  3. Carousel random order on every page load

Carousel random order on every page load

Scheduled Pinned Locked Moved Addons
6 Posts 2 Posters 76 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daab
    wrote last edited by
    #1

    hey!
    in a carousel slideshow with “random order” enabled, is there a way to make the slide order reshuffle on every page load? right now it randomizes once and then stays fixed until i update the page again. i’d also like the starting image to be different each time.
    (balazsdanyi.com, landing page fullscreen slideshow)
    thanks!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      daab
      wrote last edited by
      #2

      hey!

      update: on https://balazsdanyi.com the image-based carousel now starts with different slides correctly.

      however, on https://vzt.hu the fullscreen carousel contains only videos, and even with “random order” enabled it always starts with the same video after refresh.

      is there any workaround to randomize the first video as well?

      thanks

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote last edited by
        #3

        I think they don't randomize because of caching. Can you go to Lay Options, then search for cache, and then disable "Layout Cache" ?

        This will make your site load a little slower, though.

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote last edited by arminunruh
          #4

          let me think about if I can find a workaround so it will work with caching too. Probably I would have to do the randomized functionality by using JavaScript instead of PHP so it doesn't render my server-side, but clientside

          1 Reply Last reply
          0
          • D Offline
            D Offline
            daab
            wrote last edited by
            #5

            disable chaching is a working solution, thanks! but if you will solve this with caching enabled i would be very happy.

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote last edited by
              #6

              I will release a Carousel Add-on update that should fix this with caching enabled.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).

              We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

              Want to support my work? paypal.me/arminunruh

              Before you post:
              1. When using a WordPress Cache plugin, disable it or clear your cache.
              2. Update Lay Theme and all Lay Theme Addons
              3. Disable all Plugins
              4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

              This often solves issues you might run into

              When you post:
              1. Post a link to where the problem is
              2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
              3. If the problem is difficult to explain, post screenshots / link to a video to explain it
              Online Users
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
              laytheme.com
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Recent
              • Tags
              • Popular
              • Users
              • Search