Featured Content Gallery – WP Ecommerce

So if you’re using the WP Ecommerce plugin for WordPress and happen to have a theme that uses Featured Content Gallery, you’ll notice there are some problems. The javascript for each of the plugins conflict and cause the Featured Content Gallery not to function if you have WP Ecommerce installed and activated.

This can be very frustrating being that both plugins are very nice to have running. Although I don’t have a “fix” for this issue, I do have a workaround. It’s called “D13 SlideShow” and it’s a plugin for WordPress that will accomplish the same affect as what Featured Content Gallery will do…but it works well with WP Ecommerce.

The first thing you’ll want to do is log into your WordPress dashboard and go to your Featured Content Gallery settings area and note the “width” and “height” settings that you have in place, as you will need these later. After you note what those values are, then you can deactivate the Featured Content Gallery plugin.

Next, you will want to download the D13 SlideShow plugin here. Then upload it to “wp-content/plugins” and activate it through your dashboard. Once you have done that, then you will want to navigate to your theme’s directory on your server (or you can access this by going to “Appearance–>Editor”). You will want to remove the call for Featured Content Gallery from your theme. It’s most likely going to be located in “home.php” or “index.php” depending on your theme. The code you will look for should look something like this:

<?php /*Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing*/ ?>
            <?php if (function_exists('gallery_styles')) : ?>
            <div id="fcg">
                <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
            </div>
            <?php endif; ?>

Replace that with this code:

<?php d13slideshow(); ?>

Now that you’ve done that, you can go to “Settings–>D13SlideShow” and configure it to your needs. You will see a screen like this:

d13_main

It’s pretty self explanatory, but you’ll see the area up top where it asks for the location of the 2 javascript files. You can leave this empty to start with and see if it works, but if it does not, just put in the values you see in the image above. Next, you will take the width and height settings you saved from your Featured Content Gallery settings and input them. Next, you can set the fade color, transition timing, and so on.

Under that, you’ll see where you have the option to show latest blog posts or pages. Whether you choose to show blog posts or pages, you will need to add custom fields to either the post or page in order for it to work with D13 SlideShow.

So when creating or editing a post or a page, you will add a new custom field with the name “promoimage” (no spaces and all lower case) and then for the value, you will put the absolute path to the image you’d like to show. Also, make sure the image is resized to the same size that you have input above in the “width” and “height” field. It should look something like this:

d13_custom_field

That should be it…check your site, and you should have a rotating image showcasing your posts or pages, and it will work with WP ECommerce!

So until next time….

Tags: , , , , ,

28 Comments

Leave a comment
  1. Suzie Mar. 27, 2009 at 1:37 am #

    Thanks! I discovered last week that these two would not play nice together, and I’m not willing to give up WP e-Commerce. I’ll give D13 Slideshow a shot and see how it works for me.

  2. David @ Salon Marketing Mar. 29, 2009 at 7:41 pm #

    Great post Shayne. I’ve been finding that the Featured Content Gallery has been conflicting with other software as well. I installed the D13Slideshow plugin on my own blog and it solved my problems. Thanks a lot.

    David
    http:www.SalonSuccessWebsite.com

  3. shayne Mar. 29, 2009 at 7:53 pm #

    David,

    Cool..glad it worked out…I’m glad that I located a good alternative.

    Suzie,

    Good luck, and I’m sure you’ll be pleased.

  4. Andrea Canfield Apr. 06, 2009 at 12:45 pm #

    This plug-in works well with StudioPress’ non eCommerce themes as well. FCG just doesn’t play well.

  5. misty Apr. 30, 2009 at 8:09 am #

    hi,
    i installed the d13 slideshow because the ecommerce plugin didn’t work with featured content gallery
    but it seems the slideshow still doesn’t work
    it works only if i deactivate the ecommerce plugin
    any solution for this?
    you can check it here
    http://www.addictivenoize.com/sugoi
    thanks!

  6. shayne May. 01, 2009 at 6:24 pm #

    Misty -

    Not really sure…I have not seen any issues with the 2…

  7. sicminded May. 04, 2009 at 12:14 pm #

    Hi Shayne

    Got it working with wp-ecommerce and even a members only plugin. Do you know how I can disable the black bar with the title and text on it? I just want the image itself to rotate with nothing on it.

    Thanks

  8. shayne May. 04, 2009 at 12:20 pm #

    Sicminded -

    Download this file and replace the one you have in your D13 plugin directory with it and that should remove everything and just show the image:

    http://www.wordpressme.org/download/d13slideshow.zip

  9. sicminded May. 04, 2009 at 12:23 pm #

    Shayne, disregard, I found it in d13slideshow.php – I removed the unwanted div

    Thanks!

  10. DPC May. 04, 2009 at 5:54 pm #

    Thanks for the info Shayne! My template/theme was not playing nice with FCG and I finally tossed the plugin because the e-Commerce store plugin was more important to me.

    It looks like the authors website is under construction and I can’t seem to find an working demo anywhere. The screenshots on the WP site show a main image with three smaller images under it (http://wordpress.org/extend/plugins/d13slideshow/screenshot-2.jpg). Are those thumbnails for the slideshow? Do you know if you can change how many show up..? say I wanted five thumbnials vs. three..

  11. shayne May. 04, 2009 at 6:07 pm #

    DPC -

    If you’re referring to the screenshot here:

    http://wordpress.org/extend/plugins/d13slideshow/screenshots/

    I think those 3 images you’re seeing are not related to the D13 plugin…they’re just part of the theme being used…the main image above those is the D13 SlideShow.

  12. webart May. 06, 2009 at 3:30 am #

    hi, I installed the D13 in wordpress Mu version 2.7.1 when I click update options I receive the error (Error! Options page not found.) do you have a idea?

  13. Pastilan May. 07, 2009 at 4:22 am #

    Thank you very much for the info, I got it working a few minutes after I read your post :) Thank you :)

    Here it is:
    http://purplechickenheart.net/

  14. Pastilan May. 07, 2009 at 6:33 am #

    Sorry, it worked because I forgot to activate the WP ecommece plugin. But when I activated the WP ecommerce plugin, D13skideshow stopped working. What’s the problem?

  15. shayne May. 07, 2009 at 7:33 am #

    Webart & Pastilan -

    I’m not really sure…I don’t write either of the plugins…I just found that the two worked, and have never seen any issues with the two plugins.

  16. TSF May. 10, 2009 at 4:47 am #

    Hi shayne …

    i installed D13Slideshow but it seems i cant make it work .. its already at the main page but nothing is displayed there .just blank

  17. cezzy May. 11, 2009 at 2:20 am #

    Hi,
    the same as TSF problem => d13Slideshow is displaying only background color. So plz help us.

  18. Marc May. 17, 2009 at 11:14 am #

    Misty, Webart & Pastilan,

    I had some similar conflict issues related to substituting D13 for FCG on a site using WP e-Commerce and a load of other plugins. Not sure where the issues resided, but I found that the Flash based Featurific ( http://featurific.com/ffw ) content gallery worked well as a substitute and cooperated will all the plugins activated including WP e-Commerce.

  19. temp May. 22, 2009 at 5:46 am #

    Not work for me, with WP-COMMERCE 3.6.12.
    Any suggestion?

  20. shayne May. 26, 2009 at 10:25 am #

    Thanks Marc,

    Haven’t had this issue, but I’m sure it will help others.

  21. michelle May. 27, 2009 at 2:33 pm #

    Hi folks.. Shayne’s fix works for d13Slideshow v.1.0.2. I also had issues with the current version of the d13slideshow (v.1.1.0) and WP-eCommerce. I tried the Featurific plugin but it’s way more involved to setup and if you went thru the install for d13 all the changes to code that you made to home.php etc will cause errors all over the place! So proceed with caution if you do go with Marc’s suggestion. Also, Featurific’s free version has “Featurific Free” branding on the slideshow and that was rather undesirable for me.. the Featurific Pro version is almost $500..

  22. Rene Ettling Jul. 02, 2009 at 7:22 am #

    Hi,

    you must not change to d13. With a smal fix (about 6 lines of code) you get FCG and wp-e-commerce working together. Read my Post http://www.instinct.co.nz/forums/topic.php?id=4321

  23. shayne Jul. 02, 2009 at 4:19 pm #

    Rene,

    Correct…good fix!

    But D13 is still a good alternative for those that may not want to use FCG.

  24. Sandip Saini Jul. 17, 2009 at 11:35 pm #

    I am so glad I found it. It is easy to understand .
    I like your writing style and the design of your blog, thanks for the info.

  25. Sandip Saini Jul. 17, 2009 at 11:45 pm #

    Awesome resource. I’m bookmarking this page. Good job!

  26. Courtney Jan. 27, 2010 at 3:39 pm #

    For those people receiving the “Error! Options page not found” message I have found a fix.

    The one minute fix is located here:

    http://sitesires.com/error-options-page-not-found/

    Hope this helps!

  27. Jonas Mar. 03, 2010 at 7:32 pm #

    hello sir

    I’ve been struggling to solve and look for the problem of trying to figure out why my slider menus do not work when i use the plugin for d13slideshow…i have tried FCG plugins but had problems because of jquery and mootools so i gave up to find a better solution and that is to look for jquery slideshow plugins to make it match wordpress. I placed d13slideshow on my header.php template file. The d13slideshow worked perfectly but the slidermenus on the right sidebar as well as the search button at the top don’t work anymore. The slidermenu on sidebar comes along with the theme that im using from elegantthemes. If i remove the jQuery.noCOnflict code, the d13slideshow does not work but the slidermenus do. I’m not familiar with javascript or jquery libraries so may i ask for your help. Please take a look at the website http://wp.jonasandbelle.com

    Thank you.

  28. shayne Mar. 09, 2010 at 7:15 pm #

    Jonas,

    I’m actually not that familiar with the inner workings of those..i would suggest contacting the developer of d13 slideshow or your theme developer as they could probably help you better.

Leave a Reply