• Resolved metalhead505

    (@metalhead505)


    What would be a good way to use this plugin without compromising registration page load time?

    I’ve been trying lots of things, but maybe the wrong things. I’ve tried adding async to the script, and tried adding defer to the script. (No improvement)

    I also tried removing the field from the registration page, and letting users edit it after signing up, but even then, it still loads in the registration page.

    Something I haven’t tried yet, but am looking into, is hosting the google maps js locally, but I’m not sure how, or if it would help.

    Any suggestions?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shanebp

    (@shanebp)

    The class instance is created vis this function pp_loc_initiate() in this file:
    bp-xprofile-location\inc\pp-field-type-location.php

    You could add a conditional to the function to control which pages it is loaded on.
    Perhaps you could use bp_is_register_page()

    Thread Starter metalhead505

    (@metalhead505)

    Thank you. Nice and speedy again. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Speed’ is closed to new replies.