Connect with us

Wordpress Tips

How to Shuffle Content Order in WordPress On a Schedule

Writing new content for your website is one way to keep it relevant. Certain articles are evergreen, so they don’t need major changes regularly. By shuffling the order of this posts, you can make it easier for your visitors to find your work. This script lets you put your evergreen posts on a schedule:

🛠️ Divi Builder drag & drop page builder for WP

For this snippet, we use mt_srand which uses a time-based seed to create a random pattern every hour. Without this line, your pages will look completely random but with it, you will get a stable random order. This approach simply keeps your site looking fresh without a chaotic feel.

[more tips]

Continue Reading
You may want to check out:
*some of our articles and lists include affiliate links to fund our operations (e.g. Amazon, Elegant Themes, Envato). Please read our disclaimer on how we fund Exxponent.
You may also like...
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Wordpress Tips

To Top