WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

am planning a random widget for widgets that uses jquery to fade in each widget from the top (a total of 12 displayed 3 at a time). The widget creation and animation I can handle but falling short on how it would choose a random order and display the 3 at a time. how can I achieve this?

Any help on how to display random data and then pull the next random data would be amazing.


share|improve this question
What have you tried so far? Please include the current state of your code. – Johannes Pille Jul 18 '13 at 8:59
current status of code is: working, have tried dumping all $output1-12 into an array and have the code display 3 at a time using rand function but didnt work, tried a simple call to action to start and that didnt work. Am kind of new to widgets and need the help. – user1888564 Jul 18 '13 at 9:13
I didn't mean to ask for a description of whether your current code "works". I meant to ask you to simply edit the code itsself into the question. ;) – Johannes Pille Jul 18 '13 at 9:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.