• Resolved Rics

    (@rics)


    Can I display the ideas in the front end randomly sorted?

    • This topic was modified 1 year, 5 months ago by Rics.
    • This topic was modified 1 year, 5 months ago by Rics.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @rics,

    That’s a great question. We don’t have a standard way of doing this now and this is the first request we have had for this.

    But I can tell you how you could do this if you were open to customising/forking the plugin. In the file: plugins/ideapush/inc/shortcode/idea-list-items.php

    just before line 263, you can put in:

    $args[‘meta_key’] = ”;

    $args[‘orderby’] = ‘rand’;

    That should display the ideas in a random order. You would need to update or hide the ordering labels on the frontend though with CSS or javascript. If I get more requests, I will consider adding this as a standard feature. It should be noted that pro users also get priority in terms of feature requests. Thanks @rics,

    Thread Starter Rics

    (@rics)

    The company I work for is purchasing the PRO version in the next few days. We have been using the free version to gather ideas, as expected, but I want to use the plugin in a completely different way for another purpose.

    For that, I have already hidden the voting system, and it would also be great to randomize the ideas for people to read on the frontend.

    Users… always corrupting the use of software! hahahahahaha

    Thanks for the code.. Will try that!

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    No worries, all good ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sort ideas randomly’ is closed to new replies.