HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
multiple comment embeding
icestormz
New
can you embed multiple universal comments
0
Comments
Like quoting multiple in one comment?
no embed 2 universal comment embed codes but in different divs with different discussion ids
As I use a lot Embed Comments I may help you with this.
You can have multiple embed comments, you just have to provide a unique ID in your code (such as, if you're on a blog, the article ID or things like this).
As I'm using Vanilla comments over here:
Here is the script I use:
The vanilla_identifier is what will indicate to Vanilla wich page/article is shown.
So I did put the name of my webstie followed with the article unique ID variable so like this:
where ##ARTICLE_ID## is the internal article ID variable of my blogging software. For exemple, if it's for article 1, the identifier will be 'lebobbalibre-1'.
With that configuration; each article have it's own related discussion. And if you want two one the same page you can, as long as each identifier is different.
Vanilla will check for this vanilla_identifier and look if there are a discussion linked to that identifier. If yes, it will display it to the user, if no it will automatically create a new one.
Thanks @K17