Title: Comment Teaser?
Last modified: August 19, 2016

---

# Comment Teaser?

 *  Resolved [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/)
 * I was wondering if anyone knew of a plugin that will allow me to insert a comment
   teaser within a post.
 * For example if I want to add “what do you think?” at the end of a post to encourage
   someone to leave a comment that would link to the comment for the post.
 * I can’t hyperlink the text “#respond” because that would only work if I was looking
   at the single page view of the post.
 * Any ideas?

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [vachi](https://wordpress.org/support/users/vachi/)
 * (@vachi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822678)
 * you can use this 🙂
 *     ```
       <a href="<?php the_permalink() ?>#respond"></a>
       ```
   
 *  Thread Starter [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822687)
 * Oh duh. Thanks.
 * You know what would be cool would be a plugin that put a form field that you 
   could post the tease automatically in the post.
 *  [vachi](https://wordpress.org/support/users/vachi/)
 * (@vachi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822689)
 * maybe i should write one hehe, it would be my first plugin if i do 🙂 make the
   post resolved please
 *  Thread Starter [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822693)
 * oops. that doesn’t work. won’t pickup the wordpress permalink reference. See 
   the end of my first post here [steveeller.com](http://steveeller.com)
 * Yes I have runPHP enabled for this post.
 *  [vachi](https://wordpress.org/support/users/vachi/)
 * (@vachi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822695)
 * how about instead of putting this teaser in the post, put it in the post loop,
   so it comes up for all the posts automatically
    so like put `<div class="teaser"
   ><a href="<?php the_permalink() ?>#respond"></a></div>` and put this like after
   the `<?php the_content('Read the rest of this entry &raquo;'); ?>` try that
 *  Thread Starter [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822699)
 * The only problem is that text being used with the link will change from post 
   to post.
 * for example:
 * 
 *  Thread Starter [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822701)
 * oops forgot to use the code tag:
 * `<a href="<?php the_permalink() ?>#respond">Text that will change every post</
   a>`
 *  [vachi](https://wordpress.org/support/users/vachi/)
 * (@vachi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822702)
 * when you are posting code put it in the it between backticks
    “Put code in between`
   backticks`.”
 *  Thread Starter [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822704)
 * Yeah I know
 *  Thread Starter [keydin](https://wordpress.org/support/users/keydin/)
 * (@keydin)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822706)
 * Well I guess I will just have to manually past in the link to the comment. Oh
   well.
 *  [vachi](https://wordpress.org/support/users/vachi/)
 * (@vachi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822707)
 * ohh i see your idea, well than we can do that actually
    with custom fields
 *     ```
       <a href="<?php the_permalink() ?>#respond"><?php $key="teaser"; echo get_post_meta($post->ID, $key, true); ?></a>
       ```
   
 * and in teh post custom field section add a field called teaser and just change
   whatever you want in this field, should work great 🙂
 *  [vachi](https://wordpress.org/support/users/vachi/)
 * (@vachi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822709)
 * you don;t have to manually do anything, the custom field option will work, i 
   use custom fields for many many thing on my site. form image links to posting
   code into posts
 * `http://codex.wordpress.org/Using_Custom_Fields`
    you should really check it 
   out great wp feature

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Comment Teaser?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 2 participants
 * Last reply from: [vachi](https://wordpress.org/support/users/vachi/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/comment-teaser/#post-822709)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
