At TurnGeek we recently had the task to include Disqus (which is great by the way) into our site, so readers of our books can leave comments for each chapter.

For a couple of reasons we couldn’t use their Wordpress plugin although the site is running on Wordpress. If you’re running in the same issue or you just don’t want the dependency of another plugin, you can paste the following snippet in your Wordpress posts (by the way, this also works with non WordPress sites):

<script type="text/javascript" src="" data-name="{my_disqus_shortname}"></script>

Using the data-name attribute you have to set the shortname you’re using on Disqus. This means you have to replace my_disqus_shortname with this shortname, in our case it is turngeekpress, so our snippet looks like this:

<script type="text/javascript" src="" data-name="{turngeekpress}"></script>

Have fun using this and let me know your thoughts.