• Hi, I am trying to put up a slideshow of pictures using Featured Content Gallery. I followed every instruction as indicated on the plugin website and I am still unable to see the results on my homepage. I am using eDegree 1.1. They continually specify that I need to :

    4. Add this code anywhere in your WordPress theme files where you want the gallery to display:

    <?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>

    … Where does this go?

    I sincerely appreciate all the help provided by whoever can solve this problem ?? !

Viewing 2 replies - 1 through 2 (of 2 total)
  • That would depend on where you want the slideshow, if it is on just the home page that would be defined by which file is being loaded blog, page or template page.

    If it is wide on every page then it could go in the header.php file at the end.

    If it is content width then it would go in one of the other files.

    These may give you a guide as to where to look.

    These are a part of a ‘Twenty Ten’ tutorial set this is for a slideshow in the content panel and this is for a wide slideshow.

    As you can see the content slideshow would go in the content area before the posts, this example is for home blog page only:

    <?php /* Add our slideshow here home page only above the page content */ ?>
    <?php if(is_home() || is_front_page()) : ?>
        <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
    <?php endif; ?>

    The wide goes after header and before the content, but each theme is different.

    get_header(); ?>
    
      <?php /* Add our Slide Show Here */ ?>
      <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
    
      <div id="container">
       <div id="content" role="main">

    HTH

    David

    hey ,

    i have the same problem as anythinghockey. i like to get the fcg in to all my pages. It displays on my homepage with no problems but if i go to an other page the fcg doesn’t show itself. And i get a black background on the other page.
    can anybody help me please !!!

    Link to my page

    thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Add Featured Content Gallery to a theme’ is closed to new replies.