Title: Close comments using code on page?
Last modified: August 20, 2016

---

# Close comments using code on page?

 *  [Elliot Sowersby / RelyWP](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/close-comments-using-code-on-page/)
 * Hello,
 * Is it possible to close comments on a page using a code inserted in the page 
   HTML edit.
 * What I want to do is to be able to close comments at a certain time. I’m also
   using a timed content plugin to help.
 *     ```
       [timed offdate="20120127" offtime="1211"][/timed]
   
       [timed ondate="20120127" ontime="1212"]CLOSED CODE[/timed]
       ```
   
 * It would be great help if someone would be able to provide me with the code to
   use.
 * If anyone has any other ideas to close comments at a set time and been able to
   easily edit the times each time etc then please let me know.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Elliot Sowersby / RelyWP](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/close-comments-using-code-on-page/#post-2533116)
 * Still **not** managed to solve this.

Viewing 1 replies (of 1 total)

The topic ‘Close comments using code on page?’ is closed to new replies.

## Tags

 * [close](https://wordpress.org/support/topic-tag/close/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [timed](https://wordpress.org/support/topic-tag/timed/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 1 participant
 * Last reply from: [Elliot Sowersby / RelyWP](https://wordpress.org/support/users/elliotvs/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/close-comments-using-code-on-page/#post-2533116)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
