Below is the summary :-
I have 8 different posts with a custom post type say " Class Banners "
So one of the post will always be showing on my site's home page for the upcoming fitness class for the user to see.
I have 8 Classes and so i created 8 posts this is how I want them to display :-
“Post 1” displayed Sunday 8.00am to Monday 9.30am
“Post 2” displayed Monday 9.30am to Monday 7.00pm
“Post 3” displayed Monday 7.00pm to Tuesday 6.30pm
“Post 4” displayed Tuesday 6.30pm to Wednesday 7.30pm
“Post 5” displayed Wednesday 7.30pm to Thursday 6.30pm
“Post 6” displayed Thursday 6.30pm to Friday 9.00am
“Post 7” displayed Friday 9.00am to Saturday 9.00am
“Post 8” displayed Saturday 9.00am to Sunday 8.00am
I need them to display on these specific days and time each week.
**Now what I want is :- **
I need to get those specific time queries, I know how to display each post individually.
I am just not getting it worked out to get those specific time intervals for each week so I can have 8 queries and when a specific query is met, I can show specific post my-self.
I know php, and I know where to place the queries in template but not sure how wordpress will take those queries and the right syntax that will go with wp code.
Can someone assist on this.
Thanks