WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Pinterest Button Extension
Pinterest Location (6 posts)

  1. graff4
    Member
    Posted 2 years ago #

    Hi there,

    I am having a very difficult time being able to align my Pin It Button from it's location at the bottom of the page of each product. I want it to line up with our FB and Twitter Icons. The button works great I'm just have a tough time trying to figure this out. I know it is probably really easy but I am totally stumped. Here is a link to the site to show you what I'm talking about.

    Thank you very much,
    Paul

    http://graffinis.com/shop/mta-1-piece

    http://wordpress.org/extend/plugins/woocommerce-pinterest-button-extension/

  2. Jeremy_61
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Paul!

    It is appearing in that location due to the priority that it is getting rendered. We can adjust that value to move it around a little.

    Add this code to the top of your functions.php:

    if( class_exists( 'SOD_WooCommerce_Pinterest_Button' ) ):
    	remove_action( 'woocommerce_single_product_summary', array( $SOD_WooCommerce_Pinterest_Button, 'display_pinterest_button' ), 100 );
    	add_action( 'woocommerce_single_product_summary', array( $SOD_WooCommerce_Pinterest_Button, 'display_pinterest_button' ), 10 );
    endif;

    In the add_action function where it says 10 - that is the priority. If 10 puts the pinit button up too high, you can raise that number to make it fire later. On the theme you're using, I can't tell what that magic number will be, so you might just have to play with it a little bit. Also, I can't say for sure if it'll line up perfectly with the FB and Twitter icons.

    Let me know if you have any other questions! Also, please reply back and let me know if it works or not for you.

    Thanks!

    Jeremy

  3. andy.fx-foreignexchange
    Member
    Posted 2 years ago #

    I'm using Woocommerce and Buro commerce theme and this does not work. I see the add to pinterest tab on the products backend, but the pin button does not appear on the front end products pages.

  4. Jeremy_61
    Member
    Plugin Author

    Posted 2 years ago #

    Hi -

    Did you enable it on the product by checking the checkbox and clicking update on the product? If so, would you mind posting a link to a product that has it enabled? I might be able to tell what's going on by looking at it. If you don't want to post a link publicly, you can e-mail us directly at the following email: support [at] sixtyonedesigns [dot] com.

    Thanks!

  5. Cerilia
    Member
    Posted 1 year ago #

    Hmmm tested and enabled this on one product, the button appears.....pressing it, nothing happens!

    Upto date on both Woocommerce and WP!

  6. Jeremy_61
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Cerilia,

    I just tested with up to date versions of woocommerce and wp and it worked fine. What theme are you using?

    Would you mind posting a link here or e-mailing one via the contact form at http://61extensions.com?

    Thanks!

    Jeremy

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic