Support » Themes and Templates » Retrieve Random Posts and Sort Alphabetically

  • I’m trying to retrieve 20 posts at random AND sort them alphabetically using get_posts(). However, I can’t figure out a way to do these two things at once since they are both controlled by the “orderby” parameter, so I can only do one or the other. Does anyone have any suggestions on how to get around this?

  • The topic ‘Retrieve Random Posts and Sort Alphabetically’ is closed to new replies.