• 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 15 replies - 1 through 15 (of 19 total)
  • Thread Starter zo

    (@zotezo)

    How to exclude /login and /register from AO minifications?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    You can add <!-- noptimize-page --> in the content of those pages, that will stop AO from being active there.

    hope this helps,
    frank

    Thread Starter zo

    (@zotezo)

    details please..No other code needs to add in function.php?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, just add <!– noptimize-page –> in the HTML content and (a) the page is not optimized and (b) as it’s a HTML comment it is invisible.

    Thread Starter zo

    (@zotezo)

    It is not any html page…I want it will completely excluded from AO js/css minification that is no settings of AO will applied on registration and login page.. HOW to achieve that?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, I assume that on registration and login page you can add text, right? if so, just dump it in there?

    Thread Starter zo

    (@zotezo)

    Hi,
    We have called Social login registration in registration.php with this code-

    <div class="new-area">
    <?php echo do_shortcode('[ultimatemember_social_login id=574588]') ?>
    </div>

    How to wrap <!– noptimize-page –>so that no effect of AO minification(js/css) in this page?
    Please suggest.
    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I don’t know UM social login at all Zo, ask their support how you can add/ change content on the login/ registration page maybe?

    Thread Starter zo

    (@zotezo)

    Under <div> how to block the code that please suggest.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I don’t understand your last reply Zo, sorry ..

    Thread Starter zo

    (@zotezo)

    Here I am calling this social login under <div>

    <div class="new-area">
    <?php echo do_shortcode('[ultimatemember_social_login id=574588]') ?>
    </div>

    How to call <!– noptimize-page –> here so that no effect on AO code js/css minification here?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    but that’s PHP (registration.php), where does this end up in the front-end; on one specific page (URL) or on all pages?

    Thread Starter zo

    (@zotezo)

    Login/Registration link added in the side header and calling in all pages in header php file

    • This reply was modified 4 years, 3 months ago by zo.
    • This reply was modified 4 years, 3 months ago by zo.
    Thread Starter zo

    (@zotezo)

    This is my whole registration page code calling in header.php

    <div class="new-area">
    			<?php echo do_shortcode('[ultimatemember_social_login id=574588]') ?>
    			</div>

    Via this shortcode in register.php
    I want this will exclude any js/css minification from AO.
    Thanks,

    • This reply was modified 4 years, 3 months ago by zo.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if added in header it would appear on all pages, in which case adding <!-- noptimize --> would stop Autoptimize on your entire site, so that won’t work.

    instead you’ll have to exclude UM social login’s JS from being optimized, by adding wp-content/<um directory name> to the JS optimization exclusions (and replacing <um directory name> with the real directory name used?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘UM social login and registration is not working’ is closed to new replies.