WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Facebook Like Share Button
[closed] How to include the buttons manually? (7 posts)

  1. stoelwinder
    Member
    Posted 10 months ago #

    My theme (Mearishop) allows me to include the button manually in the share.php file on the SIngle Product page. However, when I include it there, it will show up twice on the Single Product page: Once where I placed it in my theme and once where the plugin by default sets it. How can I switch off "below table" or "below title" and use the share.php file that my template supports, so it fits better in my template design?

    http://wordpress.org/plugins/woocommerce-facebook-share-like-button/

  2. stoelwinder
    Member
    Posted 9 months ago #

    I only seem to be able to get it to show up double or not at all :( Any suggestions?

  3. terrytsang
    Member
    Plugin Author

    Posted 9 months ago #

    Hi, with enabled option checked, then you can add below line of code at line 227 in plugin file tsang_fbsharelike.php:
    $option_fbsharelike_enabled = false;

    You can use shortcode [fbsharelike] in widget or function 'fbsharelike()' in your theme php file. Hope it helps.

  4. stoelwinder
    Member
    Posted 9 months ago #

    Hi, thanks for responding. If I put the false parameter in the plugin file and then call the function from another theme.php file, it will just not display.

    Once I comment out the variable line, it will show up twice.

  5. stoelwinder
    Member
    Posted 9 months ago #

    Hi Terry, any updates?

  6. nula
    Member
    Posted 1 week ago #

    Hello, how to solve this problem? I also do not see anything after insert the false parameter or have share-like button inserted in two places.

  7. esmi
    Forum Moderator
    Posted 1 week ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 9 month old topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.