Events Manager
[resolved] Enqueing the ENTIRE jquery UI library? (3 posts)

  1. Aaron Ware
    Posted 4 years ago #

    Just wondering if there is a specific reason for this. If they are needed. Can they at least be loaded in the footer not in the header.

    That's a lot of file size loading on a homepage that isn't needed/warranted when no events, or elements (forms etc) associated with events are being shown.

    Possibly these items are associated with booking or locations. But if those features are disabled in the admin the associated JS shouldn't be enqueued.


  2. agelonwl
    Posted 4 years ago #

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    We use WP for enqueuing, (we need them all), so you should look at using a caching plugin or similar to join all those up etc.

    I do notice that there is an $in_footer option in wp_enqueue_script, but then this still has to be called before wp_head, which means some uses of shortcodes etc. requiring these libraries won't be able to dynamically request libraries.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic