I am trying to make my posts in a child category show in a random order. I have this query post below but this only works for the category “The Category”. How do i do it for all my categories?
‘orderby’ => ‘rand’,
‘category_name’ => ‘The Category’
if (have_posts()) : while (have_posts()) : the_post();
- The topic ‘Random’ is closed to new replies.