slightly unusual client request. I'm using Divi and I have a nice Divi layout created for a video and text post which is ready to go. The client wants to create 365 posts (one for each day of the year and titled as such) based on this layout by just dropping in a video embed and text, and have the site essentially run with a different post display full width (ie just the post/header/footer) for each day of the year. ie - the Jan 1st post would become the site's front page on Jan 1st, and the Jan 2nd post become the front page on Jan 2nd.
The client wants to launch the site with 365 completed finished posts - all live. ie - 1st Jan, 2nd Jan ... 31st Dec. When the user goes on to the site he wants the post for 1st Jan to become the front page for 1st Jan etc and then 2nd Jan on 2nd Jan. ie - no republishing, scheduling or changing modified dates.
IT seems like there should be a simple solution, but I'm stumped. Does anyone have any great ideas? Much appreciated! (no url yet as it's still a concept on a dev platform)
front-page.php
or similar template that shows header and footer, and in the middle, sandwich a query that searches for (current date, converted to human-readable form) as a post title. You'll need a fallback in case it can't find said post, and then a whole lot of testing, and you may need to strip whitespace so for example if the client sets the title to "January(space)(space)1" instead of "January(space)1" it still recognizes that date.