Automatically Close Comments After Certain Time Has Passed #136
taufik-nurrohman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say, you want to close the comment form after 30 days have passed. Automatically!
You get the formula:
Then you can use it to set dynamic comment status globally, where variable
$the_date
holds the publication time of the page. Use it like this in your layout file:Numbers
1
and2
are status flags of the comments section which you can learn more about here.Beta Was this translation helpful? Give feedback.
All reactions