WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm making a plugin and need to add a link to every comment on the front-end. I've used the filter comment_reply_link but that filter doesn't work when we're on the lowest level of threaded comments (since the reply link won't be shown).

Using the filter comment_text works somewhat, but places the link at an awkward place when the reply link is there. I could reposition it using javascript but for posts with many comments that could put too much strain on the visitors browser.

Is there a filter, action or another solution that works the same as comment_reply_link but will always show up?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.