1

I'm using categories as tags for news articles and showing a list of "tags" in the sidebar. I'd like the list of "tags" to be ordered randomly. Does anyone know how to accomplish this?

  • no concrete solution, but you could fetch the category list, and jumble it with jquery. If you want to do it server side, you could get a list and feed it for instance to the low-random add-on, gotolow.com/addons/low-random/docs – GDmac Apr 24 '13 at 23:12
3

For showing categories you can use "GWCode Categories" plugin which is having "orderby" parameter with "random" value. Like:

{exp:gwcode_categories orderby="random"}
{category_name}
{/exp:gwcode_categories}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.