• Resolved vncntwbr

    (@vncntwbr)


    I am trying to display a single random post (per this guide: https://docs.pods.io/tips-techniques/display-a-random-post/#page-header-1347). The Idea is, that you get a new randomly selected post by clicking the dice-icon (??). This works in Brave Browser (Chromium) but not in others (e.g. Safari). Anyone got any ideas?

    This is the pods shortcode:
    [pods name=”programmatik” orderby=”RAND()” limit=”1″ template=”Programmatik-Box”]

    This is the code for the dice-icon:
    <button onClick=”window.location.reload(true);” class=”btn”><i class=”fa-solid fa-dice”></i> Würfel-Icon</button>

    Anyone got any ideas? Any help much appreciated! <3
    Happy to provide more information if necessary.

    Best, Vincent

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying a single random pod – RAND() broken in some browsers?’ is closed to new replies.