Support

Home Forums Event Espresso Premium Additional Attendees/jQuery Problem

Additional Attendees/jQuery Problem

Posted: July 29, 2013 at 2:18 pm

Viewing 4 reply threads


Matthew Dell

July 29, 2013 at 2:18 pm

I am having the same problem as noted on this post: https://eventespresso.com/topic/additional-attendees-problem/

The link to ‘Add More Attendees?’ is not working. I added the recommeded line of code to my functions page to execute the latest jQuery:

<code>function my_jquery_enqueue(){
wp_enqueue_script(“jquery”);
}</code>

But I am still seeing in my source code for the jquery:

<script type=’text/javascript’ src=’https://www.cfgators.com/wp-content/plugins/event-espresso/scripts/jquery-migrate-1.1.1.min.js?ver=3.5.2′></script&gt;

From what I understand Event Espresso should be running 1.5.1, that does not seem to be the case. Here is an event to check the example: https://www.cfgators.com/event-registration/?ee=2

Any suggestions/advice would be greatly appreciated.

Thanks
Matt


Josh

  • Support Staff

July 29, 2013 at 3:19 pm

Hi Matthew,

I checked and it looks like the theme is missing the call to wp_footer(), so none of the scripts that normally get loaded there (including the addtional attendees scripts) can load up.

Please see this section of the WordPress codex for more info:

http://codex.wordpress.org/Function_Reference/wp_footer

As as aside, we generally recommend using the bundled version of jQuery that is included with WordPress (currently 1.8.3), and if you want to load something from the Google CDN to use the “Use Google Libraries plugin”. This isn’t always the latest version, but if you load the version that WordPress ships with you’ll generally see fewer conflicts.

The other script you referred to in your post is the jQuery migrate plugin (which is at version 1.1.1), which was added to help prevent conflicts while things are getting converted over to use jQuery 1.9+

Please see this post for more info:

https://eventespresso.com/2012/08/using-jquery-in-safe-mode/


Matthew Dell

July 29, 2013 at 4:28 pm

Thanks I will look into this.


Josh

  • Support Staff

July 30, 2013 at 3:10 pm

You’re welcome.


Matthew Dell

July 31, 2013 at 8:31 am

The script is working now and the additional attendees is showing up. Thanks for the help.

Problem Solved!

Viewing 4 reply threads

The support post ‘Additional Attendees/jQuery Problem’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso