Support » Plugin: Disqus Conditional Load » Missing comments, doesn’t work as real disqus.

  • Have a site that went through several migrations: domain names, permalink structure changes, etc. This plugin show 0 comments for all old posts. While installing the real Disqus plugin brings comments back.
    So not the same as disquse. Install at your own risk if you ever changed permalinks chances are this will create a new empty discussion on them.

    • This topic was modified 10 months, 3 weeks ago by  ctrlaltdelete.
Viewing 1 replies (of 1 total)
  • Ok i solved this, the plugin misses or incorrectly defines disqus_identifier, this is needed by disqus to keep track of discussions when the url changed due to domain migration or permalink structures change.

    Many sites out there rebranded or changed permalinks some time.

    If the dev is interested this is what he needs to do to fix it:

    
    // define it
    <?php $d_ident = $post->ID . ' ' . $post->guid; ?>
    
    // add it to javascript
    var disqus_identifier = "<?php echo $d_ident ?>";
Viewing 1 replies (of 1 total)
  • The topic ‘Missing comments, doesn’t work as real disqus.’ is closed to new replies.