Home Forums General Issues Post of the week


Post of the week

  • Hi there,
    I have a CPT with about 300 entries. I would like to show on my website something like “Post of the week” which automatically picks one of my CPT (random order) and shows it on my website for 7 days. How would you guys do that? Happy about any help 🙂

  • You don’t really need ACF for this. Set a transient with the post ID that expires after 7 days. If the transient has expired, choose another random post and set it again.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Post of the week’ is closed to new replies.