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.





Hello,
This is a nice fix. However, I want to know if FCG can be modified to display Product Categories of WP eCommerce. Is it possible?
Thanks,
-tejas
Hi Tejas!
You can set up FCG so that it can display a graphic of your product categories and the graphics would link to whatever category in your shop you want. For instance, you could have a picture of coffee, for instance, with popup text, and that coffee graphic could link to the coffee section of your store.
You have to edit a few files in FCG to get it to accept custom URLs, but if you look on the Featured Content Gallery forum, there are pretty clear instructions on how to do this
thanks, this fix worked for me.
You’re welcome Aaron.