Set up comments

Setting up comments in Simply Static is simple, as most heavy things are done in the background.

Activate comments

Go to Simply Static -> Settings -> General->Forms and scroll down to the Comments section.

Set up comments 1

Add a redirect URL

You want to add a redirect URL to automatically redirect your users once they’re submitted a new comment to a post. That’s because there is quite a lot happening in the background, and you don’t want your users left confused after submitting a comment.

What happens in the background

Simply Static sends the comment to your WordPress website and submits it via the internal comments function called wp_insert_comment(). Depending on your WordPress comment configuration, it will be immediately published or left for review.

Simply Static will automatically create a new static export for the post after the comment was published to make it available on your static website.

Instead of using a JSON configuration file, comments work with JavaScript and use a meta tag on your static website to get all the information needed.