# Comment Invitation Near the End of Posts

> Asks readers a question near the end of each post (after 80% of the content) and links straight to the comment form.

- Type: Universal
- Runs: Content 80
- Category: [Comments](https://wpide.com/library/category/comments/)
- Tags: comments, engagement, call-to-action
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/comment-invitation-near-end/

## Code

```php
<?php if ( is_single() && comments_open() ) : ?>
<aside class="wpide-comment-invite" style="margin:2em 0;padding:1em 1.25em;border-left:4px solid currentColor">
    <p style="margin:0"><strong>What do you think?</strong> Share your experience or ask a question <a href="#respond">in the comments</a>. We read every one.</p>
</aside>
<?php endif; ?>
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Comment Invitation Near the End of Posts" in its snippet library and add it in one click; or create a new Universal snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
