How do I display a random “custom post” that will last for a specified amount of time without repeating content?

I saw someone else’s question, but it was posted over seven years ago, and I am not very savvy about changes that may have occurred that would render the solution useless.

I have several different custom post types (brand terms, brand facts, and brand quotes) and I would like to display one of each on a page of my WordPress site (using Divi Theme) that’s randomly chosen. For each custom post type I’d like to be able to specify the frequency with which the content refreshes (daily or weekly). I’d also like something that does not repeat content until the entire list of brand terms, facts or quotes has been displayed. Is this possible with PHP or a plugin? Or am I just dreaming?

Cheers!
Laura

Read more here:: How do I display a random “custom post” that will last for a specified amount of time without repeating content?

Leave a Reply

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