WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. aware
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 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

About this Topic