ThemeShaper Forums » Thematic

[closed]

Change comments anchor link

(5 posts)
  • Started 4 years ago by gregf
  • Latest reply from Mindplay
  • This topic is not resolved
  1. 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.

    Posted 4 years ago #
  2. 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">

    Posted 4 years ago #
  3. 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.

    Posted 4 years ago #
  4. well you've got me beat then. you might have to wait for one of the real gurus to see this.

    Posted 4 years ago #
  5. Mindplay
    Member

    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>
    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.