[Resolved] Template Selection based on Date?
I’m working on a Comicpress site and need to allow readers to comment on the comic and the blog when the posts are on the homepage, but completely hide the comic comments on older comics. I’m thinking of doing this one of two way. Can anyone tell me if either are possible?
1) Create a separate single.php template (which controls the page you can read/write comments on) based on publish date. Either by setting a specific number of days to swap templates or by somehow stating “published comic post after the most recent comic post”.
2) Moving the commenting function completely to the homepage and then hiding it when some sort of dynamic dropdown.
Are one or both of these options possible? Is there an easier way?
- The topic ‘[Resolved] Template Selection based on Date?’ is closed to new replies.