Support » Plugin: Popups - WordPress Popup » Problems with Facebook shortcode

Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Author Damian


    Hi to use faces you need to setup layout to standard but it will not align well i think.
    Also if you move fb to the center i think it will look better.
    put all shortcodes together without spaces between them

    Plugin Author Damian


    check new version for faces fix

    I confirm that only admin see the Popups item in the menu with the new version.

    Another question about Facebook configuration : how can I set the language of Facebook’s widget ? It is in english, I’d like to set it to french.

    Plugin Author Damian


    It takes the language of your site. You wp-admin is in french?
    in wp-config.php what locale you have configured?

    Yes my wp-admin is in french.
    In wp-config.php it’s set to “fr_fr” since the beginning but the Facebook shortcode is displyaed in english

    Plugin Author Damian


    Could you check your source code to see what file is being called for Facebook javascripts? Should be located in the header of your site

    When I seek in the source code of the page, at the place of your shortcode in the popup, here is the div for Facebook :

    <div class=”fb-like fb_iframe_widget” data-width=”” data-href=”” data-layout=”standard” data-action=”like” data-show-faces=”true” data-share=”false” fb-xfbml-state=”rendered” fb-iframe-plugin-query=”action=like&app_id=&”>…</div>

    It seems like your plugin doesn’t load the right language

    Plugin Author Damian


    On which page or your site I can check the popup active?
    The code I meant was something like:
    <script type="text/javascript" src=""></script>

    Depending on the language setting you have in wp-config.php that scripts should load with the right locale.

    You can check the active popup on

    OK so I’ve searched in the page code source, and here is the call :
    <script src=”″ type=”text/javascript”>

    The script at returns /*1407239775,,JIT Construction: v1356228,en_US*/

    There is an error with the locale parameter. It should be fr_FR instead of fr-FR. ( returns the correct locale)

    Plugin Author Damian


    Try by changing in popups/public/class-social-popup.php line 333
    the following:
    wp_register_script( 'spu-facebook', ''.get_bloginfo('language').'/all.js#xfbml=1', array('jquery'), self::VERSION, FALSE);


    wp_register_script( 'spu-facebook', ''.get_locale().'/all.js#xfbml=1', array('jquery'), self::VERSION, FALSE);

    Let me know fi that works

    I’ve made the change.

    Now the script is not called at all

    Plugin Author Damian


    Do you get an error ? Please double check the entered code or that the popup is active on that page.

    I just tried locally and seems to work fine.

    Im trying to check but I don’t see the popup there

    I do not have any error.

    Popup configuration has not changed.

    In the plugin editor, popups/public/class-social-popup.php is now flagged as disabled (but the plugin is not disabled).
    I don’t know how to reactivate one file ??

    Plugin Author Damian


    Try editing your files in FTP to avoid problems.

    I pasted the code in , in case copying from here is giving problems

    No cpoying is not the problem.

    It is too late for editing in FTP : the file is flagged as deactivated and I don’t know how to reactivate it…

    I tried deactivate then reactivate the plugin but with no avail…

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Problems with Facebook shortcode’ is closed to new replies.