Random sorting interval

This topic contains 1 reply, has 2 voices, and was last updated by  Guust 4 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #503533

    jotomas
    Buyer
    Post count: 802

    Hello,

    I have read this documentation:

    https://wpgeodirectory.com/docs-v2/design/gd-listings/#random

    But I do not understand how to set the interval in the code. Could you please show with a couple of examples: for an interval of 1 hour and for an interval of 10 minutes?

    I look forward to your reply.

    Thank you very much once again for your help.

    Best regards.

    #503539

    Guust
    Moderator
    Post count: 29970

    You can only set the system to one option, the default is 24 hours.
    To always re-set the randomness every hour, change the “4” to “1” in that snippet.
    I am not sure how to do per 10 minutes.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket