Title: Code Issue
Last modified: August 19, 2016

---

# Code Issue

 *  [ryanfusher](https://wordpress.org/support/users/ryanfusher/)
 * (@ryanfusher)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/code-issue/)
 * So I have a problem. Someone helped me and told me to paste some code into my
   comments section of my template. The problem is that no matter what blog posting
   you post a comment to, the comment shows up under post=158. So if you respond
   to my most recent posting, then your comment would not show up there. It shows
   up under this old blog posting.
 * So I think the problem has to do with the “value=”158″ ” section of the code 
   below.
 * <p><textarea name=”comment” id=”comment” cols=”100%” rows=”10″ tabindex=”4″></
   textarea></p>
 * <p><input type=”submit” name=”submit” id=”comment_submit” tabindex=”7″ value=”
   Submit Comment” /><input type=”hidden” name=”comment_post_ID” value=”158″ />
   
   </p>
 * </form>
 * What code do I insert to make it generic and to understand that it just needs
   to post the readers comment under the blog posting that they are commenting to?
 * Please help.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/code-issue/#post-922176)
 * try this
    `<p><input type="submit" name="submit" id="comment_submit" tabindex
   ="7" value="Submit Comment" /><input type="hidden" name="comment_post_ID" value
   ="" />`

Viewing 1 replies (of 1 total)

The topic ‘Code Issue’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/code-issue/#post-922176)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
