After installing Intense Debate for comments, I need to change the anchor portion of the link on "leave a comment" from /#comments to /#idc-container-parent. How do I do this in functions.php?
Thanks.
After installing Intense Debate for comments, I need to change the anchor portion of the link on "leave a comment" from /#comments to /#idc-container-parent. How do I do this in functions.php?
Thanks.
well i am fairly certain you can't filter that. sooo... my best guess would be to copy comments.php into your child folder. open it up and change
<div id="comments">
to
<div id="idc-container-parent">
That's not going to work because Intense Debate is already replacing comments.php. That's why I was hoping to modify the other side of the link. I tried asking ID tech support about this and this was their response:
Thanks for getting in contact. Our plugin hooks into the function comments_popup_link (http://codex.wordpress.org/Template_Tags/comments_popup_link). Please use this in your templates. That should do it.
I'm not sure how to make use of this response.
well you've got me beat then. you might have to wait for one of the real gurus to see this.
You could manually write your link, can't you?
<a href="<?php the_permalink(); ?>#idc-container-parent"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a>
This topic has been closed to new replies.