• Resolved ChikoA

    (@chikoa)


    I made a CPT called app, On the single template (based on pods template system) I would like to call to related APPS and order the list randomly,

    I made template for related apps as well, the only missing part are the shortcode to order the post randomly,

    here is my shortcode:
    [pods name=”app” template=”Related Apps” limit=”3″ where=”(ID NOT in (‘{@ID}’))”]

    I tried few shortcodes like the following:
    [pods name=”app” template=”Related Apps” orderby=”RAND(post_title)” limit=”3″ where=”(ID NOT in (‘{@ID}’))”]

    but it not worked for me, any suggestion on how to achieve this random orderby and what I’m missing?

    Thanks

    • This topic was modified 4 years, 9 months ago by ChikoA.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Random order for pods list’ is closed to new replies.