WordPress.org

Support

Support » How-To and Troubleshooting » Comments not working

Comments not working

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forgot to mention this was working just a few days ago. I removed two plugins that were installed after but still no luck. Have checked all my settings in comments from needs approval to prior to posting, etc.

    This seems to be a pretty large problem and fixing rather hard to do. I stumbled across a fix in case anyone needs help. Within the comments.php file I added the following line of code

    <input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" />

    I put it directly above the following line of code

    </fieldset>
          </form>

    It fixed my issue. Very strange I had to do this though because my comments were working and then all of a sudden stopped. Apparently a plugin or something I added caused this problem. I hope it helps. Drove me nutty trying to find the fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments not working’ is closed to new replies.
Skip to toolbar