Update wp_query every week

Question

What I’m trying to achieve: my homepage displays 3 random posts from each of 5 different categories. That part is easy.

What’s a little unique and I can’t quite figure out how to accomplish, I would like those posts to change automatically every week.

That way if the user comes back a couple times during the week, they see the same posts, but on a weekly basis the query should update to make it essentially look like a bunch of new content has been added (or at least previously written content is now featured).

How would I go about doing that? Thanks.

0
user5710 2 years 2019-10-20T11:32:17-05:00 0 Answers 75 views 0

Leave an answer

Browse
Browse