"Shuffle" Sorting That Changes Daily
Adds a random order option to the shop sorting that stays the same all day, so pagination works and every product gets its turn at the top.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a random order option to the shop sorting that stays the same all day, so pagination works and every product gets its turn at the top.
Makes /random/ open a random published post, a fun "Surprise me" link for menus that keeps readers exploring your archive.
Appends a short random string to the name of every uploaded file (for example report-k3f9q2.pdf), so private documents cannot be found by guessing their URL.
Lets REST API clients request posts with orderby=rand, for example to show a few random articles in an app, which WordPress does not allow by default.
Adds a custom query ID "wpide_random" that shows posts in random order in Elementor Pro's Posts and Loop Grid widgets, for testimonials, team members or featured products.
Adds a fresh random nonce to every script WordPress prints and sends a strict, nonce-based script policy (report-only by default), the modern way to block injected scripts.
Shows posts in random order in any Query Loop block with the class "wpide-random-order", for rotating testimonials, team members or featured posts.
Shows the entries of selected post types, such as testimonials or team members, in a random order on each visit.
Adds a public /wp-json/site/v1/random endpoint that returns one random published post with its title, link and excerpt, for "surprise me" buttons or widgets.
Adds a [random_posts] shortcode that lists a few random posts, optionally from chosen categories or another post type, without running a slow random database query on every page view.
Adds a "Random Quote" widget that shows a different quote, tip or testimonial from your list on each page view, with the source shown below it.