Hi guys
You recommend using disqus to add comments so thats what im trying to do, but you must know what to add to the universal code it tells you to use to make this work with webflow
Ive added their code to the bottom of the blog post template - it works fine if i add the url of a specific blog post but of course as its a template I need to make it dynamic
so what do i write to make comments specific to the specific post thats being read?
http://academic-blogsite.webflow.io/posts/ actual blog page
http://academic-blogsite.webflow.io
Shown below is the part of the code snippet where i need to change PAGE_URL and PAGE_IDENTIFIER to make this work. I dont know php but its something to do with this variable? <? php echo $my_identifier; ?>
If you could adjust this code snippet for me, oh boy would i be grateful. I think this would prove very useful for many potential cms/blog webflow users
Regards
Paul Oram
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '//academicblogsite.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();