How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support affiliates_list sort random

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12852
    rosemary brayan
    Participant

    I know that table_list sort random exists. But I don’t know how to do affiliates_list random.
    The work is too difficult to beginner developer.
    I want to pay and request development. What should I do?

    #12862
    admin
    Keymaster

    Hi!

    Can you please give me more details what you want to do?
    The “random” parameter exist in table shortcode, you want to have random order in taxonomy template?

    #12870
    rosemary brayan
    Participant

    ibb.co/tBY2vvY
    ibb.co/54sGYqT
    ibb.co/ZfCghRX
    (link is not working. add to https)
    Can you see and understand the image?
    I want to sorting [affiliates_list] short code.
    I know [table_list sort=”random”] is it ok. in new pokatheme version.
    but I don’t find affiliates_list sort=”random” features.
    Can you give me tips for development? Or can you develop it on my site?
    Thank you for answer.

    #12873
    admin
    Keymaster

    Hi!

    If I understood correctly you need to add the following:

                } elseif($sort == "random") {
                    $query_string['orderby'] = "rand";
                }
    

    Then you can pass “random” to the sort parameter.

    #12917
    admin
    Keymaster

    Topic is marked as resolved due to inactivity.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.