Either doesn’t seem particularly related. I would look at plugins implementing this more thoroughly if you want meaningfully related results.
But to answer your question literally you can randomize order by 'orderby' => 'rand'
query argument, see Order & Orderby Parameters in Codex.
Related Posts:
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- Post featured image column on admin post list page
- display all posts in wordpress admin
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- When and Where is `global $post` Set and Available?
- Create an “All Posts” or “Archives” Page with WordPress 3.0?
- How to Sort Custom columns in admin
- Shortcode Not displayed at the Right Place [duplicate]
- Post visibility on the basis of roles
- List only child categories a post is in, of a specific parent category
- Unattaching images from a post
- Is it possible to add a first and latest posts link?
- How to change post status from publish to draft using hook in wordpress?
- How to output comments number of a post per day?
- wp_list_categories link to first post of category instead of calling taxonomy template
- Auto Refresh Post List after X seconds
- How to show video from specific category on sidebar?
- How only display all post related to category
- Display posts with comments closed, with pagination?
- How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?
- Add category to all post by using sql query?
- can’t use the page_test method to check pagination
- post re-order on my site
- Only display posts after current date
- What is the Better way to manage posts in WordPress?
- Invisible spam post in backend
- Private Posts/Pages & Search
- Update post status from “publish” to “trash” for half of posts
- What is the standard featured image size?
- Allow multiple contributors to one post
- How to check a post exist when the permalink has post id in it?
- How to attach an image to a post through Java
- Post body text occupying featured image space before it loads
- User levels and post visibility
- Multi row post list
- Hook in to add new post link wp admin?
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- Dynamically switch template on click
- $post->post_type not working
- Tell WP to use a specific template file in posts
- Create a list of posts with topic headdings
- Add field to user meta table in database when link is clicked
- How to get post content from an array of ids?
- Hide custom metabox value from custom fields
- See if a post has a specified tag
- Images showing up in Post Editor, but not in Published Post
- Custom wp-query in wordpress rest api
- Is there a way to order children of post?
- Custom Fields for Author Box
- Custom home page with full post for first one only
- Need to know custom code to display random and most viewed posts in wordpress posts and pages
- How to retrieve certain number of images from a wordpress post?
- WordPress post filter menu
- Load widget only on blog posts
- Send email to author of post on post submission
- Template for regular posts (no custom post types)
- WordPress query portfolio posts
- Rand post related question
- Hide parts of the post content after typing it’s name or searching it by category
- search content of pages and list in wp-admin
- SQL Bulk Move old posts by one author to another category
- load more posts by category
- Changing permalink of WordPress
- Rest API Paginate until all posts are imported
- How to show multiple posts thumbnail, title and date in widget
- Remove all external links from posts
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Blog Posts – Scroll to view more
- After updating to 5.9, when the posts page is loaded in the browser it uses wp-includes/template-canvas.php?
- Manipulated offset and pagination, can’t display last post anymore
- Query to fetch custom taxonomy along with post title
- Change of author not updating
- Mysql update menu_order problem
- Single post shows post three times
- Blog Page doesn’t show summary but full content
- Change WordPress names duplicate titles (url)
- Changing a users posts to drafts upon role change
- Show 5 posts and than 3 posts offset with pagination
- My posts page is missing the page title
- Alternative content between posts no repetition
- Start loop from specific post ID
- Connection dropped due to file size
- How to Get Position of a Post from a category and tag
- Custom author search
- WordPress template next_prev
- Remove All in One Seo from Posts for Contributors
- My blog “page” used to show a list of posts, but now it’s just showing the page content?
- Grab next post title in archive page
- How to store post rating system data post independent?
- unused post IDs
- get_post_meta property of non object
- Combining multiple conditional statements [closed]
- First post in loop displays twice
- custom post type single page template not working
- WordPress posts [closed]
- Post UI Tabs plugin double fade effect
- Export Posts Without Categories In An XML File
- How to make the Post Author name fixed as “Editorial Staff” even if there are multiple authors?
- Trying to create parent for post. I need some help. Thanks