• Just wondering if anyone knows if its possible to include the comment form on the front page of the blog (my site is setup so only one post is shown at a time), and once submitted it’ll redirect to the post page.

    I was thinking use some sort of javascript / ajax to include that section of the page on the front page but will submitting actually go through?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Solution for full comments & form:

    http://wordpress.org/support/topic/67104#post-355277

    If you just want the form (with no comments), you’ll need to either include a separate (custom) template that only has the comment form, or insert the code for the form in your main (index.php) template.

    For any option, make sure this particular input line is in the form element to assure a comment submission redirects to the single post page:

    <input type="hidden" name="redirect_to" value="<?php the_permalink(); ?>" />

    Thread Starter basketball

    (@basketball)

    Thanks dude! That worked perfectly

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

The topic ‘Comments on frontpage’ is closed to new replies.