• Resolved hebhansen

    (@hebhansen)


    I installed Login/Register Popup in Twenty Twenty Three theme (Block theme). An now I installed Nextend for Social Login, however, the logins do not show. I activated 2 x social and they seem enabled from backend.

    Did anyone get this to work? Are you willing to share your solution to do this?

    Login for now looks like this

    Thx

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ramona

    (@nextend_ramona)

    Hi @hebhansen

    Do you have any enabled providers? https://imgur.com/XPkDv5w
    Nextend Social Login can only display the login buttons on the frontend if there are any enabled providers. So first I recommend making sure that you have at least one.

    By default Nextend Social Login Free only places the login buttons automatically to the /wp-login.php form and the login forms made using the wp_login_form action.
    However with some work, you are able to put the login buttons to custom places or in the sidebar. Basically this can be achieved by:

    However the Pro Addon can also place the the login buttons to the WooCommerce, BuddyPress, MemberPress, UserPro, Ultimate Member
    forms and also to the WordPress Comment forms.
    ??

    If you have any questions abotu the Pro Addon, please contact us directly at: https://nextendweb.com/contact-us/nextend-social-login-support/

    As per forum rules, commercial products are not supported in these forums.

    Thread Starter hebhansen

    (@hebhansen)

    Hey @@nextend_ramona

    I enabled and tested Facebook and Google for that exact reason. Still not showing.

    I tried adding this to Code Snippets, and it’s not working.

    The login plugin says:

    Override Templates

    Plugin template files are under easy-login-woocommerce/templates folder.
    Copy the template file to your theme/templates/easy-login-woocommerce folder. ( Create if does not exist )
    Make the desired changes there. Also check the template file header for exact location.

    Template has this code: Can’t paste all, don’t know why

    /**

    • The template is a form container
      *
    • This template can be overridden by copying it to yourtheme/templates/easy-login-woocommerce/xoo-el-form.php.
      *
    • HOWEVER, on occasion we will need to update template files and you
    • (the theme developer) will need to copy the new files to your theme to
    • maintain compatibility. We try to do this as little as possible, but it does
    • happen.
    • @see https://docs.xootix.com/easy-login-woocommerce/
    • @version 4.1
      */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit; // Exit if accessed directly
    }

    $form_active = $args[‘form_active’];

    ?>

    get_template( ‘global/xoo-el-header.php’, array( ‘args’ => $args ) ); ?> $form_args ): ?> get_template( ‘global/xoo-el-‘.$form.’-section.php’, array( ‘args’ => $args ) ); ?>

    Where can I place this:

    if(class_exists(‘NextendSocialLogin’, false)){NextendSocialLogin::renderButtonsWithContainer();}

    And finally, can I add the package to Code Snippets instead of creating a new template?

    Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @hebhansen!

    Please note, that we do not support custom coding. That is not just that simple, because you need to get to know the code of the plugin, what you are trying to modify. So I wouldn’t suggest going that way first, but rather try to contact the developers of Easy Login Woocommerce:
    https://xootix.com/contact/
    They might offer an easy way to just publish a simple shortcode within their login form:

    [nextend_social_login]

    That way you wouldn’t need developer knowledge to write your own code. But even if you would need to modify the code of Easy Login Woocommerce, their developers should be able to tell you the best coding solution for that, as they know their own codes.

    What our code offers is, that it displays the social login buttons exactly where that code runs. So it needs to run within the form’s codes, to make the buttons appear there.

    • This reply was modified 2 years, 3 months ago by Gabor.
    Thread Starter hebhansen

    (@hebhansen)

    I added your php to their template after I moved it to my theme and it appears to work fine. I will look into a bit of css tomorrow. Do you know how I can inline buttons as opposed to stack and let them fill 100% width. Also if I enable 3-5 buttons?

    • This reply was modified 2 years, 3 months ago by hebhansen.
    • This reply was modified 2 years, 3 months ago by hebhansen.
    Ramona

    (@nextend_ramona)

    Hi @hebhansen

    You can use the “style” and “align” parameters to adjust the display of the shortcodes, as you can see in the Shortcode parameters option: https://nextendweb.com/nextend-social-login-docs/theme-developer/#shortcode

    So you could use style="grid" align="space-between" or align="space-around" options to make more buttons appear next to each other. However, based on your screenshot I’d rather recommend making the buttons full width (using style="fullwidth" parameter) as you don’t really have enough space for two buttons to display, so the grid layout probably won’t have any effect.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Nextend not visible in plugin Login/Register Popup’ is closed to new replies.