• Resolved da457nilo

    (@da457nilo)


    The code I’m using to query my post is below but for some reason the orderby=rand is not working. I’ve read several different posts on this saying it conflicted with something that had to do with if i used “WP Sticky” which i currently don’t

    query_posts("posts_per_page=1&category_name=news&orderby=rand");

    If someone can provide a solution to get this working that would be great! Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter da457nilo

    (@da457nilo)

    actually got this fixed. It was conflicting with another plugin called “Post Types Order”

Viewing 1 replies (of 1 total)
  • The topic ‘Query random posts not working’ is closed to new replies.