WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. sarahsbakestudio
    Member
    Posted 7 months 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. mrsztuczkens
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

    try changing the image selector to:

    article img

    and let me know.

  3. sarahsbakestudio
    Member
    Posted 7 months 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. mrsztuczkens
    Member
    Plugin Author

    Posted 7 months 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 7 months ago #

    Yes, that did it! Thank you so much!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.