Seems like a simple thing to do but I can’t figure it out:
I have a summary page of blog posts, each of which has a ‘leave a comment’ link to the post’s detail page view where the comment form is. However, if the author of the post sets the Comment Expiration Date to some date and we roll past that date, I’d like to hide the ‘leave a comment’ link.
So the question is, how can I check for that date in the looping channel entries tag? I know there is a ‘comments_expired’ conditional that can be used in the comment form tag pair but that doesn’t help me on the summary page.
I cannot find any variable to check this from the actual entry. Surely there must be one…?!
Thanks,
Mike