comment_reply_link not moving my form?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘comment_reply_link not moving my form?’ is closed to new replies.
The topic ‘comment_reply_link not moving my form?’ is closed to new replies.
(@twansparant)
14 years, 9 months ago
Hi there,
I’m having a problem with the moveForm function triggered when replying on an excisting comment. I just can’t seem to get it working, the respond div just won’t move under the comment I’m replying on.
Everything seems to be in order:
In my header I call the comment-reply javascript just before wp_head:
Which does get loaded correctly like this:
To be sure the problem isn’t in my comments.php file I removed the callback function and put
wp_list_comments();beforecomment_form();but that didn’t change anything…In the comment form the Reply link is added like this:
The output of the Reply links seems to be correct:
However the div- is missing in the comments list id’s, they’re supposed to be comment-51. So when I change my callback back to twentyten:
The output of the reply links become correct like this:
But the form is still not moving, instead the reply-title in the allready excisting respond form changes and the cancel reply link show up…
Tips anyone? Thanks for your help!
Cheers, Toine