Java Script Asynchronous

Home Forums Calendar Products Events Calendar PRO Java Script Asynchronous

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1102904
    Juan
    Participant

    Hello,

    I’m seeking to further improve my page loading times and read that loading js Asynchronous instead of defer could help decrease loading times.

    Is this something I can do for the events list view? Where could I change the string of code?

    Many thanks.

    Juan.

    #1103270
    George
    Participant

    Hey Juan,

    Thanks for reaching out. While there is unfortunately very little help we can provide for customizations, especially on a code level, you can dive into the plugin code yourself for The Events Calendar, Events Calendar Pro, or any other add-on and search for instance of the WordPress function wp_enqueue_script().

    This function loads JavaScripts. So if you search for that function, you’ll find all of the scripts in our plugins and where, specifically, they are being loaded.

    With this information you can then engineer a solution to alter the JavaScript loading however you see fit. This is indeed a rather large, complicated sort of customization to make, so I wish you the best of luck with your tinkering!

    If you’re interesting in hiring a professional developer to write the code for you, we have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks—they’re simply some well-respected names in the community that we’ve compiled to share in situations like this one).

    Best of luck with your customizations,
    George

    #1104180
    Juan
    Participant

    Thank you!

    #1104425
    George
    Participant

    😀

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Java Script Asynchronous’ is closed to new replies.