• Resolved atrialstudios

    (@atrialstudios)


    I’m creating a new theme in wordpress/woocommerce and I need to integrate the plugin shortcode into a page template, I went to “display options” and disabled all the options, but still showing up above the hook login form (woocommerce_login_form_start) there is support to disable it completely to be able to insert the shortcode?

    Best Regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter atrialstudios

    (@atrialstudios)

    Nvm i just found out

    Hi,

    Thanks for reaching out to us.

    Glad that you have find the option to edit it. I am sharing the screenshot for the same here.

    Let us know if you have any other questions, you can also contact us by e-mail from the plugin support form or by e-mail at the e-mail address provided on our website. We will be happy to help you out.

    Thanks
    Team miniOrange

    Hello @atrialstudios , I have the exact same problem, it is really urgent. Could you please share with me how you did it?

    Hello @jimnouvakis,

    You can edit or disable the “Connect with” field by editing the “Enter text to above login widget” field in the display options tab. I am sharing screenshot for your reference. Please refer to it.

    Please let me know if it works for you.

    Let us know if you have any other questions, you can also contact us by e-mail from the plugin support form or by e-mail at the e-mail address provided on our website. We will be happy to help you out.

    Thanks
    Team miniOrange

    Thanks @cyberorange I hadn’t seen the screenshot above, my bad.
    Thank you very much for your answer

    Thread Starter atrialstudios

    (@atrialstudios)

    @jimnouvakis Hey sorry for the delay i can show the path i did to make work

    in you dashboard go to “miniOrange Social Login, Sharing” > “Social Login” > “Display Options” and disable all the options from:

    “Select the options where you want to display the social login icons”

    After that go to your theme functions.php and copy and paste this code:

    
    /**
     * Call [miniorange_social_login] shortcode above login form
     */
    add_action( 'woocommerce_login_form_start','add_login_btn' );
    
    function add_login_btn() {
    
      if ( shortcode_exists( 'miniorange_social_login' ) ) {
    
        echo do_shortcode('[miniorange_social_login]');
        //Code to execute if the shortcode is present
    
      } else {
    
        return false;
    
    }

    This will display the login buttons above the username Input on login form

    If your theme have separate login and registration form you need to call the shortcode in your custom registration page here’s the code:

    
    /**
     * Call [miniorange_social_login] shortcode above registration form
     */
    add_action( 'woocommerce_register_form_start','add_reg_btn' );
    
    
    function add_reg_btn() {
    
      if ( shortcode_exists( 'miniorange_social_login' ) ) {
    
        echo do_shortcode('[miniorange_social_login]');
        //Code to execute if the shortcode is present
    
      } else {
    
        return false;
    
    }
    

    I hope this will fix your problem

    • This reply was modified 2 years, 5 months ago by atrialstudios.

    @atrialstudios thank you very much for your kind answer, I will have a look into it.

    Thanks for the time you took to answer, I appreciate it!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Disable “Connect with” woocommerce_login_form_start hook’ is closed to new replies.