The answer it seems was using ‘RAND’ instead of ‘rand’.
Related Posts:
- Order post by year DESC and month ASC
- Display page content AFTER a loop of posts
- How to start with post number x?
- WordPress custom Query for Posts in Category display posts multiple times
- Dynamically switch template on click
- How to display only one category in a custom post type?
- Custom Select Query – Selecting the Year?
- Trying to exclude custom posts based on date, while sorting by custom field
- How Can I Always Display A Particular Post First Using WP_Query?
- wp query custom orderby not custom field
- Custom Select Query pagination not working properly
- Special Query: Title, Terms, Content – %LIKE%
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields
- Random sort within an already sorted query
- Setting Custom Sort Order of Posts within a Category
- how to get a different html for odd/even posts?
- Custom permalink structure only for default posts
- Exclude drafts in all() view of edit.php
- How to change the layout and styling of posts according to their category in WordPress?
- WordPress Number of Posts Not Changing With posts_per_page
- adding a custom css class to post
- Prevent duplicate posts in wp_insert_post using custom fields
- Add default content to post (for specific category)
- Pagination not working on Custom Page Template
- Trying to put an array into ‘post__in’ => array() query not working
- display order of connections
- same template for multiple custom post type single
- How to place HTML below the title of the (custom) post overview
- How to get a nofication when post submitted
- Is there any WordPress alternative to Book module of Drupal?
- .current-menu-item class on custom post type children pages – again?
- Run a function when post is deleted?
- Get posts by multiple ID’s (query)
- How can I create custom button in post.php
- Exclude posts with empty post_content in wp_query
- Only display a certain number of posts, dependent on how many posts there are available in a query
- how to replace embedded “full” sized images within a post with the “large” ones
- Downgrade user from role that allows post creation
- Best way of deletion of old posts [closed]
- Should $found_posts be returned as string in ‘found_posts’ filter hook?
- Animated gif for a thumbs
- Sidebar links for different pages
- I am unable to publish/update post
- Sticky post appears twice
- Get posts of ONE taxonomy term of custom post type
- WordPress Custom Fields (Checkboxes with multiple values)
- How Can I Query a Specific Page From a MultiPage paginated Post
- Custom Post Archive Page not working
- Adding buttons to Add New Post and Add New Page
- filter RSS feed in URL
- Getting Custom Post Loop to display in Bootstrap 3 column grid
- Editing the default page to show all posts, rather than most recent ones
- Automatically add date to the auto generation of post slug
- Add a custom meta box in the post options that loads some html code in the header
- Static posts page with home.php
- Custom post types related to same custom post type?
- How to get posts and comments amount per hour, per year and per month?
- relating business and products with custom taxonomy?
- Using setup_postdata() with multi-dimensional array
- Check if a custom post type has already been created
- WordPress Query Posts From Category Post on Static Page
- Edit multiple custom post types while saving a new or edited post
- How to allow multiple thumbnail upload for Posts?
- add external project to web site wordpress on production
- Related Posts function not working
- Export all posts to import as product items
- Organization of time insensitive content
- How to output all taxonomy links from a custom post type in a menu?
- Prevent duplicate pages from being added
- Can I style single post that are in multiple catergories?
- Show 10 latest posts only from users with contributors role
- Return records between two meta datetimes saved as strings
- How to create custom search form function including post “tags”
- How to invoke a HTML custom button based on a HTML dropdownlist menu
- Please I want to prefix my WP posts title according to each category
- insert post fails after multiple postings
- Manual Scheduler For Custom Post Type
- Custom Post Type Rewrite URL
- Custom Post Types and Broken Permalinks
- The first post appears twice
- Count posts for pagination
- AJAX load more posts not using correct category and repeating the same few posts
- Append a random string to a post permalink
- Show Posts By Custom Field
- Custom Post Type doesn’t use single.php or single-{custom_post_type}.php
- Customize search results to include custom posts and display in a specific template page
- Custom permalink based on custom post type fields
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- Removing a post from the results of a WP Query
- Query posts from a specific category and selected tag
- How to only allow post to be deleted if custom field doesn’t exist
- Show a Category Specific Info Box
- Creating pages and getting their values from the database table
- Custom Post Title as search term
- adding custom meta as well as looping through posts
- Best way to enable sorting by 3 criteria on a page of listings
- WordPress 3.2 – Problem with WYSIWYG editors in a custom post type?
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- How to set value in Query Loop?
- Wp_query WooCommerce products