• Resolved zo

    (@zotezo)


    Hi,
    We have added UM social login and registration in our site,When I try to register it is loading and loading and registration option is not working.
    Have there any way to exclude social login registration and login from being minified from AO?
    Thanks

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter zo

    (@zotezo)

    Hi,
    from Exclude scripts from Autoptimize: options can i add this?

    wp-content/um-social-login
    I have added but still social login is not working.it is loading loading…
    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    from Exclude scripts from Autoptimize: options can i add this? wp-content/um-social-login

    if that is the directory where that plugin is located, yes.

    have added but still social login is not working.it is loading loading…

    well, what error(s) do you see on the browser console?

    Thread Starter zo

    (@zotezo)

    Hi,

    well, what error(s) do you see on the browser console?

    No error showing in console.
    register/?um_dynamic_sso=1&return_provider=google&ref=3
    Just loading and loading…
    Can you please look once on what is happening?
    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, try this code snippet;

    add_filter('autoptimize_filter_noptimize','noptimize_um',10,1);
    function noptimize_um( $flag_in ) {
    	if (strpos($_SERVER['REQUEST_URI'],'um_')!==false) {
    		return true;
    	} else {
    		return $flag_in;
    	}
    }
Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘UM social login and registration is not working’ is closed to new replies.