WordPress.org

Forums

InstantClick
[resolved] Instantclick interferes with other plugins (3 posts)

  1. Dan14
    Member
    Posted 1 year ago #

    First of all I'd like to say this is a great plugin. I am currently using a plugin to enlarge the images I am posting inside posts. However, instant click appears to override this plugin, causing it not to function. I tried the handle section but it is not working. The plugin I am using is called image-zoom. I deactivated Instantclick at the moment but would love to reactivate it if the matter can be resolved. The handle I used is image-zoom.

    Link of plugin: https://wordpress.org/plugins/image-zoom/

    Thanks in advance.

    https://wordpress.org/plugins/instantclick/

  2. Xetter
    Member
    Posted 1 year ago #

    InstantClick uses black/white list, I don't think through a plugin there is anyway to update all href's however if you know how to edit a plugin, go to the conflicting plugin and search for where the href is and add data-no-instant.

    For more info you can see here http://instantclick.io/download#blacklisting

  3. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @Dan14,

    Xetter is right, InstantClick will try to apply to every link it finds. So even if the script loading is happening correctly, InstantClick will still respond to clicks on links, unless they are blacklisted (using the data-no-instant attribute).

    How do you create the links to your images? If it's directly in the content editor, you could try adding the data-no-instant attribute there, like this:

    <a href="link-to-image.jpg" data-no-instant><img src="link-to-image.jpg" /></a>

    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • InstantClick
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic