WordPress.org

Ready to get started?Download WordPress

Forums

Ajaxify WordPress Site(AWS)
[resolved] Not working with Disqus? (3 posts)

  1. mtarkhov
    Member
    Posted 1 year ago #

    Hi guys!

    Amazing plugin, have a little problem. It doesn't work (at least in my case) on the comments links on a homepage for me.

    Say I have this:

    Post Title
    Content
    Comments Links

    Comment Link is not working, looks like because of '#disqus_thread' in the url. Everything else works fine! Any ideas?

    Thanks!

    http://wordpress.org/extend/plugins/ajaxify-wordpress-site/

  2. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    HI mtarkhov,

    Yup I know that this plugin does not work with comment link.
    Yet I have not worked on this.

    Thanks
    Manish

  3. 2winfactor
    Member
    Posted 1 year ago #

    Hi Guys,

    I was able to disable ajaxify when comment links are clicked. Ajaxify doesn't work, but at least it still loads the page and links to the comments section. Right before this line:

    // Continue as normal for cmd clicks etc
    if ( event.which == 2 || event.metaKey ) return true;

    I added this:

    // If it's a comment link continue as normal
    if (url.toLowerCase().indexOf('#comment') >= 0) {
         return true;
    }

    Hope that helps.

    Andre

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags