WordPress.org

Forums

jQuery Pin It Button For Images
[resolved] Disable Pin it Button for all PNGs (6 posts)

  1. funkytime
    Member
    Posted 1 year ago #

    I would like to disable the pin it button for all PNGs. For me the adding the class to pictures doesnt work, as I have to do it manually for all images on my blog (and some are integrated in plugins with shortcodes...). I can't find the code in the plugin where the file endings are specified.what's the solution?

    http://wordpress.org/plugins/jquery-pin-it-button-for-images/

  2. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    try changing the img part of the image selector you're using to this:
    img:not([src$=".png"])

    Let me know if it helped. If not, I need the URL of the website and debug mode enabled.

  3. funkytime
    Member
    Posted 1 year ago #

    no , it doesnt work. my site is http://fun.kyti.me , debug mode is enabled.

  4. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year ago #

    What exactly doesn't work? Because from what I can see, the selector ignores png files just like you wanted.

  5. funkytime
    Member
    Posted 1 year ago #

    it worked and then it only shows on the featured image now. ??
    http://fun.kyti.me/index.php/2013/09/healthy-lunch-box/

  6. funkytime
    Member
    Posted 1 year ago #

    it works now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Pin It Button For Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags