WordPress.org

Forums

jQuery Pin It Button For Images
[resolved] Pin It Button On Everything (5 posts)

  1. sarahsbakestudio
    Member
    Posted 1 year ago #

    I want the pin it button to only show up on my photos within my blog post articles. I do not want it to be on my header, images in my sidebar or footer, my related posts or comments.

    Going through and adding a class to all of these or figuring out the class for ever image to add to the no pin list is extremely tedious.

    Is there anyway to change this without going through manually for every image?

    Thanks!
    http://www.sarahsbakestudio.com

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

  2. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    try changing the image selector to:

    article img

    and let me know.

  3. sarahsbakestudio
    Member
    Posted 1 year ago #

    Thank you for your help, but no that didn't do it. The only thing that seemed to stop having the pin it button is the header. Everything else still has it.

  4. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, please change the image selector to:

    article.post img:not(footer img)

    If any small images are still caught by the plugin, use minimum image size setting to get rid of those.

  5. sarahsbakestudio
    Member
    Posted 1 year ago #

    Yes, that did it! Thank you so much!

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

No tags yet.