WordPress.org

Forums

WooCommerce Facebook Like Share Button
[resolved] Buttons in russian?? (5 posts)

  1. spotonmarketing
    Member
    Posted 1 year ago #

    Hi

    my buttons are in russian.. set for danish in the settings.
    Tried other languages and Tried to change the code "connect.facebook.net/en_UK//all.js"

    http://kwadusa.dk.linux13.curanetserver.dk/shop/t-shirts/t-shirt-med-sort-logoprint/

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

  2. terrytsang
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @spotonmarketing, i checked your site, it is because there are another fb api code loaded after <body> tag in your theme product page:

    <div id="fb-root"></div>
    
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/uk_UA/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    Do remove the code and my code will work fine. thanks.

    Do remove that

  3. chudzybaby
    Member
    Posted 1 year ago #

    Hello spotonmarketing,

    Please which .php page did you find the fc api code Terry said was the cause for the language issue for the plugin?

    Thanks
    Chuks

  4. spotonmarketing
    Member
    Posted 1 year ago #

    header.php

  5. chudzybaby
    Member
    Posted 1 year ago #

    Thanks.
    Appreciate!

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

Tags

No tags yet.