show login externel php file

hello ,
i have created another php file ( mydomain.Com/wizard/index.php )

and i want to include the shortcode tat show the icons of social login to help users to register/login using social medias.

<!DOCTYPE html>

<?php require($_SERVER['DOCUMENT_ROOT'].'/wp-load.php'); ?>

<?php do_action('oa_social_login'); ?>

but what i'm getting only is only " connect with " of the plugin , the social icons aren not showed .
how can i fix this .


  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    edited August 2018

    Hi Maher,

    probably our library.js is missing on that page. You need to add the following code somewhere on your page:

    <script type="text/javascript">
        /* Replace #your_subdomain# by the subdomain of a Site in your OneAll account */    
        var oneall_subdomain = '#your_subdomain#';
        /* The library is loaded asynchronously */
        var oa = document.createElement('script');
        oa.type = 'text/javascript'; oa.async = true;
        oa.src = '//' + oneall_subdomain + '';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(oa, s);

    Make sure to replace #your_subdomain# by the OneAll subdomain that you are using in the Social Login settings in your WordPress admin area.


Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.