Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Need AJAX help


Erwin Gerrits
Participant

@egerrits

It won’t even attempt to load the javascript files for the widget… it creates the widget, but the enqueue_script won’t add the javascript to the header, even though I have checked the URL about a zillion times…

if ( is_active_widget( false, false, $this->id_base ) )
wp_enqueue_script( 'events_widget_events_list-js', WP_PLUGIN_URL .
'/bp-events/js/widget-events.js', array('jquery', 'jquery-livequery-pack') );

This seems to be OK.

Skip to toolbar