jQuery slider not working in Wordpress plugin
- by Matt Facer
I've written a plugin for wordpress and I want to use a slider on my page. In it's most basic form (now) to test, I have the for the slider on my page
<div id="wpge-slider"></div>
then in the plugin, I have my init action
add_action('init', 'wpge_init' );
function wpge_init() {
wp_enqueue_script('jquery');
…