Support

Home Forums Event Espresso Premium Event Calendar and WP Sponsor Flip Wall not compatable

Event Calendar and WP Sponsor Flip Wall not compatable

Posted: February 6, 2013 at 3:01 pm


Mike Compton

February 6, 2013 at 3:01 pm

When I have “WP Sponsor Flip Wall” plugin enabled I get a blank screen for my event calendar.


Josh

  • Support Staff

February 6, 2013 at 3:47 pm

Hi Mike,

It looks like WP Sponsor Flip Wall is going to break a lot of plugins because it’s removing the WordPress included version of the jQuery library and hard linking an older version of jQuery instead. This is not a good practice.

You could try modifying the plugin to be WordPress compatible by commenting out line 10 of sponsor_gallery_render.php like this:

// wp_deregister_script('jquery');

and removing line 41 where it says:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"</script>

and replace with:

<?php wp_enqueue_script("jquery");>

Then, you’ll also need to comment out line 315 of wp-sponsor-flip-wall.php so it says:

// wp_deregister_script('jquery');

The above solution is kind of messy, but it would be avoided if the developer would use the wp_enqueue_script function instead of removing WordPress’s jQuery and adding its own scripts to the page by hard-linking them . The WordPress enqueue script function does a great job with making sure all plugins and themes work together, every plugin installed just needs to use the function so it can work.

The support post ‘Event Calendar and WP Sponsor Flip Wall not compatable’ 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