WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Pin It Button For Images
[resolved] not working on featured images (10 posts)

  1. thesofialife
    Member
    Posted 10 months ago #

    how can I get this plugin to work on my featured images? It doesn't seem to work with them. Also where would I add my specific class to the image if it's a featured image?

    http://portocreative.com/blog/ on the 2nd blog post, the one with the quote image is where I'm looking for it to work.

    Thanks!
    Sofia

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

  2. mrsztuczkens
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    please change the default selector (div.jpibfi_container img) in settings to div.post_box img. That should fix the issue. Let me know!

  3. thesofialife
    Member
    Posted 10 months ago #

    Right, I didn't even think of changing that code!

    It totally worked! Thank you so so much!

    Sofia

  4. mrsztuczkens
    Member
    Plugin Author

    Posted 10 months ago #

    You're welcome.

  5. thesofialife
    Member
    Posted 10 months ago #

    will that class vary from theme to theme? Because I just looked in firebug and I can't even find that class in the css.
    Just wondering for future sites>?

  6. thesofialife
    Member
    Posted 10 months ago #

    and also of course, I don't understand jquery so that may be why I wouldn't have found it.

  7. mrsztuczkens
    Member
    Plugin Author

    Posted 10 months ago #

    It depends on how the theme is written. In many themes you wouldn't have to change the selector because it will work properly out of the box (my plugin dynamically adds the given class to a container). In other themes the selector has to be changed and yes, that class will vary from theme to theme.

  8. thesofialife
    Member
    Posted 10 months ago #

    Awesome! thanks again for your help and the info. I'll be sending you a donation soon.

  9. mandipluitel
    Member
    Posted 9 months ago #

    hi @mrsztuczkens i used the div.post_box img code where you said earlier but its not working at all in my featured image nor in my post images.

    any help?

    Regards

  10. mandipluitel
    Member
    Posted 9 months ago #

    my mistake again :) thanks for the plugin it worked

Reply

You must log in to post.

About this Plugin

About this Topic