We’re successfully embedding the forum topics at the bottom of our pages, but on some of our pages we don’t want to include all of the comments and would prefer to just have a link to go directly to the Topic on Discourse, probably with the number of replies in the link text, as well.
I see the count.js script can be used to get the reply count, but it appears as though it can only be linked to a page which then embeds the topic.
Using existing functionality, is it possible to to just link to the topic page with the reply count instead of fully embedding the entire topic on the page?
You mean the static iframe embedding? We might need some help with PRs in this area to add more functionality. I know one thing that has also been requested is associating embeds with specific categories on the site rather than globally.
That the static iframe embedding is what I’m referring to. There is also additional functionality for displaying counts on links to the pages which have an embed.