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

  1. stoelwinder
    Posted 1 year 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?


  2. stoelwinder
    Posted 1 year ago #

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

  3. terrytsang
    Plugin Author

    Posted 1 year 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
    Posted 1 year 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
    Posted 1 year ago #

    Hi Terry, any updates?

  6. nula
    Posted 1 year 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 year 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

  • WooCommerce Facebook Like Share Button
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.