Disqus Comments Not Showing

Home Forums Calendar Products Events Calendar PRO Disqus Comments Not Showing

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1029078
    paulhazon
    Participant

    Hello, I’m trying to use the Disqus comments system with my site, but it’s not working with my events (which is what I really want to use it for). Instead of displaying the Disqus comments area, I instead see the text “Comments are closed”. I have tried disabling the plugin and the original WP comment system seems to work fine. The Disqus comments have worked with the Events Calendar plugin in the past, but there seems to be an issue with it now.

    #1029759
    Barry
    Member

    Hi Paul,

    I’m sorry to hear you are experiencing difficulties.

    Although the amount of support we can provide for third party plugins is limited (particularly when the problem doesn’t exist if native WordPress facilities are used) I’d be happy to explore it a little with you.

    Firstly, do you know when this problem started? For instance, was it a specific release on our side or on the side of the Disqus plugin you are using that triggered it?

    Secondly, if you visit Events → Settings → Display which template is currently in use? Can you try changing this to something else and see if that makes a difference to this specific problem

    Let me know how you get on!

    #1029908
    paulhazon
    Participant

    Hi Barry – I’m not sure when it started to be honest as I took my original site down for a while. I’ve now rebuilt it, using the same theme etc, but the Disqus plugin no longer works. I’ve actually tried another plugin called wpDiscuz, which upgrades the native comment form. It doesn’t work in the events either, although it does leave the original comment form intact. With Disqus, the original form is replaced with the Comments are closed message.

    I checked the page template and it was using the default one. I tried changing it to the other ones, but that did nothing to help.

    #1030207
    Barry
    Member

    Thanks Paul.

    Might this short snippet, which you could insert into either a custom plugin or your theme’s functions.php file, help?

    function support_disqus_events() {
    	remove_filter( 'comments_template', 'dsq_comments_template' );
    	add_filter( 'comments_template', 'dsq_comments_template', 100 );
    }
    
    add_action( 'wp_loaded', 'support_disqus_events' );
    #1030320
    paulhazon
    Participant

    Hey Barry – That absolutely does work, thank you so much!

    #1030339
    Barry
    Member

    Happy to help 🙂

    I’ll go ahead and close this topic – though it might be worth flagging this up to the authors of the Disqus plugin if you wanted to, as the priority change encapsulated in that snippet would probably be safe to make within their plugin itself.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Disqus Comments Not Showing’ is closed to new replies.