For quite some time now, I’ve been aware of the fact that the Featured Content Gallery and the WP-eCommerce plugins do not play nice together. If both are activated on your WordPress site, the Featured Content Gallery (FCG) will not work. The images will be stacked one upon the other instead of neatly inside the rotating gallery.
I had posted about this on the WordPress.org site and also on the WP-eCommerce plugin forum, as did several others, but the thread on the WP-eCommerce forum never got a response.
Finally, someone else has taken the time to figure something out, though my code guru points out that this isn’t really a solution but rather a work around. But, for what it’s worth…
Below are the steps you need to take to fix the conflict between the two plugins:
Step 1:
Add the following lines to your theme’s header.php file immediately below the call to wp_head():
<?php if(is_front_page()) do_action('jdm_head'); ?>
Step 2:
Open the main file for the Featured Content Gallery (content-gallery.php) and edit the following lines at the end of the file:
/* we want to add the above xhtml to the header of our pages: */
add_action('wp_head', 'gallery_styles');
add_action('admin_menu', 'gallery_options_page');
Change them to:
/* we want to add the above xhtml to the header of our pages: */
add_action('jdm_head', 'gallery_styles');
add_action('admin_menu', 'gallery_options_page');
If your Featured Content Gallery is on the homepage of your WordPress site, this fix MAY eliminate the conflict between FCG and WP-eCommerce. This is only really a band aid solution and may not work for all. The developers of Featured Content Gallery have not made any changes to their program and report on their site that there is simply a conflict between the two plugins.