WordPress.org

Forums

jQuery Pin It Button For Images
[resolved] WooCommerce Integration (4 posts)

  1. j2digitalco
    Member
    Posted 1 year ago #

    I've read the previous 2 forum posts about enabling WooCommerce product Pin It buttons, but they don't resolve my issue.

    I want the button to appear on all images in CONTENT, as well as all PRODUCT pages.

    Please let me know which image selector code to use.
    http://www.livinthepielife.com/
    http://www.livinthepielife.com/the-pies-shop/

    This seems to be a great plugin.
    Thanks very much!

    Jim

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

  2. j2digitalco
    Member
    Posted 1 year ago #

    I think I've solved this, but I'd like to know if this is the correct way.

    I added 2 image selector statements separated by a comma, like this:
    article.post img, div.product img

    This is doing what we want - showing buttons on the blog and woocomm products, but nowhere else.

    Jim

  3. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, you solved it correctly. The image selector settings goes straight to jQuery, so you can put in there anything that's a valid jQuery selector.

  4. j2digitalco
    Member
    Posted 1 year ago #

    Thanks for the feedback!

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.