Bob's Blog about WordPress, Websites, Hosting, Computers and the Internet

Using Featured Content Gallery

We add the Featured Content Gallery to peoples themes now and then and have to explain to them that adding the code is the easy part.  For every post displayed in the Gallery you need a nice, proper sized picture that you save in the WP media gallery.  You Upload the picture, highlight and copy the url to that image to the clipboard.  Then add a custom field to your post called “articleimg” and paste the url to your picture in.  You need at least 2 posts set up to be displayed for the Featured Gallery to work.  You can select a specific category for the display or specific posts by number.  We usually go with a category and just assign those posts to that extra category.  Then you can always remove that category from the post and it won’t display anymore.   The configuration page for the plugin has many options that have to be set up such as picture size and display options.  Also color selections of the data bar and text that gets displayed.  It takes a little doing but when finally setup it can be used to give your blog or website a real magazine or news site look.  It takes a little planning and photo editing skills beyond dropping the code into a page template.

Check out the MiniMag Demo Page for ideas.

LinkedInPinterestShare


Related Posts:

10 Responses to Using Featured Content Gallery

  • Lisa Santos says:

    I like featured content gallery but it doesn’t seem to work well in an Artisteer created theme. I added my images to ‘pages’ instead of posts then used the id numbers from those page in my settings. Well, when I look at my gallery it shows the images but then below it my content is overwritten with the content of the page of my last picture. hope this makes sense…

    • Bob says:

      In the theme displayed on this page I put the FCG code right before this and it worked fine whether I use a catagory or individual pages.

      < ?php if (have_posts()) : ?>

      Is it on your site somewhere I can see??

  • Lisa Santos says:

    Hi Bob, I tried your suggestion and it worked but for some reason the featured content gallery only shows up on my blog page when I only want it to appear on my homepage.

    I inserted the FGC code in my index.php above the line < ?php if(have_posts()):…but my fcg doesn't show up on my home page.

    I don't get this at all.

  • Lisa Santos says:

    By the way, my site is at http://lsvirtualassistant.com
    When you go there, you will see that the featured content gallery is not showing up on the home page. But if you click on ‘Blog’ on the menu you bar, you will see that the featured content gallery shows up there.

    I want it to show up only on the homepage. I thought I was using the correct template file. Isn’t it index.php?

    any help understanding where to place the fgc code correctly would be great…thank you for your time.

  • Bob says:

    You have a static page as your home page. So you need to create a “page template” and apply that template to the page when you publish it. Of course your page template will have to include the Featured Content Gallery code just like in the index.php file. The index.php is your blog page. Are you familiar with making alternate page templates??

  • Lisa Santos says:

    Bob, thank you so much for your suggestion of creating an alternate ‘page template’ that I can apply to my homepage. I did another one (home.php) and I was able to see the slideshow on my homepage only without it being on all my other pages.

    Now, I’m not sure why my ‘blog’ page still shows the fcg slideshow when I know I removed the fcg code from the index.php file. LOL…it’s funny.

    But I’m getting close to getting it just right thanks to your wonderful help.

    • Bob says:

      If you copy index.php to a new file called home.php WordPress will use home.php as your blog page rather than index.php.

  • Lisa Santos says:

    Thank you Bob!!! I understand now. I renamed the file to front.php and it worked!!! Only the home page shows the gallery and the blog page is back to normal. You are the best!!!! I sincerely appreciate your help. I’m so glad I found your blog post on this topic as I was finding it difficult to find a solution. Have a wonderful day!

  • Ryo says:

    Hi there, Bob. I will just have to ask your assistance about putting FCG on my site. I do not know why its not working. I placed the FCG code right before the But its not working.

    Can you please tell me how to make FCG work on Artisteer themes. I’ve been doing a lot lately and I think FCG is a wonderful WP plugin to view a slideshow gallery in HOME page.

    Thank you.

  • Ryo says:

    BTW, it’s working now. Thanks. :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

TigerDirect
Artisteer - CMS Template Generator