# Allow '{comment\_url}' to be used when customizing comments using wpd\_comment\_body filter

**URL:** https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852
**Category:** WordPress
**Created:** [5월 18, 2018, 5:43오후 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852 "2018-05-18T17:43:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sudaraka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sudaraka/32/68401_2.png) [@Sudaraka](https://meta.discourse.org/u/Sudaraka)
#### Post date: [5월 18, 2018, 5:43오후 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852/1 "2018-05-18T17:43:57Z")

</div>

Hello all,  
I was working on customizing the comment content using wpd\_comment\_body filter. One of the requirements was to add the link to the exact comment in the end of the comment posted in wordpress site. I made a small tweak in the plugin and made a PR. Can you please take a look 🙂

[https://github.com/discourse/wp-discourse/pull/313](https://github.com/discourse/wp-discourse/pull/313)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [5월 18, 2018, 11:14오후 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852/2 "2018-05-18T23:14:24Z")

</div>

Thanks! The template comments were showing `{comments_url}` as an available tag, but the plugin wasn’t using it. I’ve merged your change into the beta branch: [GitHub - discourse/wp-discourse at beta · GitHub](https://github.com/discourse/wp-discourse/tree/beta). I’ll get it onto the master branch on Monday and into the WordPress repo sometime next week.

---

<div class="post-metadata">

### Author: ![Sudaraka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sudaraka/32/68401_2.png) [@Sudaraka](https://meta.discourse.org/u/Sudaraka)
#### Post date: [5월 19, 2018, 1:11오전 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852/3 "2018-05-19T01:11:51Z")

</div>

Thank you a lot @simon 😊

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [5월 25, 2018, 8:22오후 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852/4 "2018-05-25T20:22:28Z")

</div>

This change is in version 1.6.4 of the plugin. It’s in the WordPress repo now.

---

<div class="post-metadata">

### Author: ![Sudaraka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sudaraka/32/68401_2.png) [@Sudaraka](https://meta.discourse.org/u/Sudaraka)
#### Post date: [5월 26, 2018, 3:26오전 UTC](https://meta.discourse.org/t/allow-comment-url-to-be-used-when-customizing-comments-using-wpd-comment-body-filter/87852/5 "2018-05-26T03:26:56Z")

</div>

Thank you @simon 🙂
