wp query – Any way to autogenerate a custom post with next 7 days of another custom post type in wp admin?


Currently, I have a custom post type of Event which uses WP_Query to get the next 7 days of events and places them into a carousel on the homepage. I am looking to further the functionality but implementing some way of a user to see these upcoming events in the WP admin and allow them to manually re-order if they’d like.

There is a need in general to create carousels manually, so I imagine this will be another post type of Carousel, but would like a post of “Next Week Carousel” to autogenerate the next 7 days worth of events and allow the user to manually re-order if they so choose.

I am open to ways to implement this functionality, but not sure if this is possible with WordPress. Any help will be greatly appreciated!

Michele Smolensky 2 years 2021-04-09T09:47:37-05:00 0 Answers 0 views 0

Leave an answer