FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Multiple Elements Same URL ID"
<script src="https://cdn.fastcomments.com/js/embed-widget-comment-count-bulk.min.js"></script> <style> .count-example { margin: 10px 0; padding: 10px; background: #f9f9f9; border-radius: 5px; } </style> <div class="count-example"> Header Count: <span class="fast-comments-count" data-fast-comments-url-id="shared-article"></span> </div> <div class="count-example"> Sidebar Count: <span class="fast-comments-count" data-fast-comments-url-id="shared-article"></span> </div> <div class="count-example"> Footer Count: <span class="fast-comments-count" data-fast-comments-url-id="shared-article"></span> </div> <script> window.FastCommentsBulkCountConfig = { tenantId: 'demo' }; </script>
Result