# Possible to add comment count (to a Ghost blog)?

**URL:** https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336
**Category:** Support
**Created:** [November 3, 2017, 6:12am UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336 "2017-11-03T06:12:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![stromfeldt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stromfeldt/32/223364_2.png) [@stromfeldt](https://meta.discourse.org/u/stromfeldt)
#### Post date: [November 3, 2017, 6:12am UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/1 "2017-11-03T06:12:28Z")

</div>

I just integrated Discourse into a Ghost blog I recently started up and am using the [Eston theme](https://themeforest.net/item/eston-a-simple-notebook-theme/9497657). By default Eston is set up to use Disqus, which comes with the possibility to add a widget of the comment count at the bottom of the post preview (or wherever, really) as such:  
 ![comment count](https://global.discourse-cdn.com/meta/original/3X/d/1/d1a4cf8dde0b4658241723a532d76b6b1d05fbb0.png)  
As I’m using Discourse instead of Disqus, would it be possible to similarly access a topic’s comment count so that I could integrate it into my Ghost blog using Eston?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [November 3, 2017, 4:32pm UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/2 "2017-11-03T16:32:48Z")

</div>

See [Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963), @codinghorror’s blog is on Ghost and embeds comments.

---

<div class="post-metadata">

### Author: ![stromfeldt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stromfeldt/32/223364_2.png) [@stromfeldt](https://meta.discourse.org/u/stromfeldt)
#### Post date: [November 4, 2017, 12:06am UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/3 "2017-11-04T00:06:20Z")

</div>

I’d already gotten Discourse embedded into Ghost a while ago (that was surprisingly easy!) and knowledge of @codinghorror’s integration was definitely a push in the right direction when I was deciding what to use with Ghost. My issue therefore isn’t about installation but rather about grabbing comment count numbers for the front page of the blog (where only excerpts of blog posts are shown, and Discourse isn’t even loaded). But if I gather correctly that the place to ask about this is over on that Embedding Discourse thread then I’ll do so. Thanks!

---

<div class="post-metadata">

### Author: ![ahmadabdolsaheb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmadabdolsaheb/32/138662_2.png) [@ahmadabdolsaheb](https://meta.discourse.org/u/ahmadabdolsaheb)
#### Post date: [September 17, 2019, 10:25am UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/4 "2019-09-17T10:25:50Z")

</div>

Did you come up with a solution? I am also interested in that feature.

---

<div class="post-metadata">

### Author: ![stromfeldt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stromfeldt/32/223364_2.png) [@stromfeldt](https://meta.discourse.org/u/stromfeldt)
#### Post date: [September 17, 2019, 11:34am UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/5 "2019-09-17T11:34:10Z")

</div>

Whoops, I’m glad you asked, because I seem to have forgotten to add a link to the “solution” that was put together for my blog. The script that was created by Vikas Potluri can be found [on GitHub](https://github.com/vikaspotluri123/discourse-get-comment-count). You can find Vikas over on Ghost’s forum if you need to ask any questions about it (don’t ask me about it, I’m not capable of that kind of coding). And if you’re interested you can see the script in action on [my blog](https://fromfilmerstofarmers.com/) (neglected for a while now, but soon to be active again).

---

<div class="post-metadata">

### Author: ![ahmadabdolsaheb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmadabdolsaheb/32/138662_2.png) [@ahmadabdolsaheb](https://meta.discourse.org/u/ahmadabdolsaheb)
#### Post date: [September 17, 2019, 1:28pm UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/6 "2019-09-17T13:28:51Z")

</div>

Thank you, I really appreciate your quick reply.  
I just need to find a way to have the embed be a button with a url to discourse.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 17, 2019, 1:28pm UTC](https://meta.discourse.org/t/possible-to-add-comment-count-to-a-ghost-blog/73336/7 "2019-10-17T13:28:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
