reply comments redirect link
-
I searched through here for some answers, and the only ones I found was talking about the blank page of wp comments, that had problems when the line <?php comment_id_fields(); ?> was included. But none of this closed threads talked about my problem.
When I submit a comment, being normal or reply, my theme redirects to an url of the comment. Example:
localhost/2012-21-12/test-post <—- This is my normal post url, where I read the content of the post, than read all the comments, and enter with a new comment on the comment <form>. Then, I submit a comment, and the url turns:
localhost/2012-21-12/test-post/#comment-20
It’s redirecting to the parent comment. I know that this justs serves as anchor, but I don’t realy need this. Can I remove the use of this piece of url to redirect to my post url?
In my submit form I’m using:
<div> <input type="submit" name="submit" id="submit" value="submit" /> <?php comment_id_fields(); ?> </div> <?php do_action('comment_form', $post->ID); ?>
The topic ‘reply comments redirect link’ is closed to new replies.