Genius is nothing but great effort applied. – Awa Kenzo

How To: Get Featured Content Gallery To Work In Thesis

Everyone loves to have those big pretty images rotating on the homepage – but FCG doesn’t work out of the box with Thesis. We’ll fix it using either the Thesis OpenHook plug-in or hard coding into custom_functions.php

Step 1: Download, install, and activate: Thesis OpenHook and Featured Content Gallery

Step 2: Paste this code in any Hook you’d like (and make sure to check “Execute PHP”):

<?php global $post; include(WP_CONTENT_DIR . '/plugins/featured-content-gallery/gallery.php'); ?>

fcg-thesis-screen-1

Step 3: Click “Little Ass Save Button”

Step 4: In your Dashboard go to “Settings” and “Featured Content Gallery” configure FCG similar to this:

fcg-thesis-screen-2

You may configure it anyway you’d like…this is merely and example, however with Thesis: YOU MUST SPECIFY POST ID, NOT CATEGORY!!!

Step 5: Click on “Posts” then “Add New”

Type out your post, then upload your images. Now you have to configure your “custom fields” like below:

fcg-thesis-screen-3

Finished: The finished product working in the “Header” Hook

fcg-thesis-screen-4


Hard Code Featured Content Gallery into custom_functions.php

Step 1: Open custom_functions.php and paste this:

// *Featured Content Gallery */
function featured_content() {
global $post;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
add_action('thesis_hook_header', 'featured_content');

Step 2: Save and upload.

See wasn’t that easy? JUST FYI: Featured Content Gallery doesn’t play well with the Lightbox2 plug-in

Greg Rickaby runs on the Genesis Framework

Genesis Framework

The theme you're viewing is the eleven40 Child Theme, which was built on Genesis.

Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!

Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.

Comments

  1. 64
    cctravis :

    Mine is only showing a loading screen?

    Anyone know how to get get past this loading screen?

    I read every post on here and on the forum for the plugin.

    Trying everything and can not get it off the loading screen.

    http://clubsurfnicaragua.com/

    Thanks
    CC

  2. 65

    What's your login? I can try and fix it for you!

  3. 66

    What's your login? I can try and fix it for you!

  4. 67

    Very nice implementation Erica.
    I am in the basic stages of fleshing out my layout.
    @gregrickaby : Greg you said, “YOU MUST SPECIFY POST ID, NOT CATEGORY!!!” which makes sense. I have done so. But does this mean I have to constantly change what page/post IDs are displayed?
    It doesn't seem like that much more work. If anything I think its far more flexible this way.

    Secondly, how do I stop a post showin in FCG from showing just below the FCG?
    stumbleholm.com

  5. 68
    mike :

    have tried both openhook and hard code. Get a space when I set up hook_after_header but no content loads. Any ideas?

    Thanks,
    Mike

  6. 69
    DaveS :

    I have tried everything, I am getting the image to load, but that is it, the text is not coming up at all and the gallery is not switching through photos. I have followed the instructions to a “T”.
    See it here I can post screen shots if needed http://usedpontoonboats.net

  7. 70

    Great idea. Thank for sharing.

  8. 71

    I have tried and tried to get this to work and for some reason it’s not. Have you tried it in Thesis 1.7 yet?

    I just don’t understand and an extremely frustrated. I know your great tutorial works, but I must be doing something wrong. I just can’t figure out what it is.

    • 72

      I got it to work off the back of Greg’s excellent instructions on Thesis 1.7 and WP 2.9.2 so it does work. What’s happening and what are you seeing?

  9. 73

    I have the FCG working in my Thesis 1.7 theme on WP 2.9.2 so I’m pretty happy. One thing that I’d really like to figure out is:

    Is it possible to put posts in the FCG, but then exclude them from the loop on the main page below the FCG?

    So basically, a post appears in the FCG, it doesn’t appear in the list of posts below or vice versa, if a recent post isn’t in the FCG and is one of the X most recent posts, then it appears on my index page.

    Any help would be appreciated.

  10. 74

    Hi Greg,

    I’ve tried with both hard code and thesis open hook ways, but I’m only getting a blank display.
    I can’t find where I’m doing it wrong.

    Can it be the fact that I’m using it with wordpress 3.0 or thesis_hook_before_content instead of the header hook?

    Take a look to see if you can help me: http://img691.imageshack.us/img691/9026/fcgproblem.jpg

    Thanks for the tutorial!

    • 75

      Turns out that the problem was only the fact that I had jquery running. I disabled it in the design options and it works just fine!

      Thanks for the tutorial!

  11. 76

    This is really very nice tutorial. Now featured content gallery has more power with help of thesis. Thank you for your share.

  12. 77

    I’ve spent far too many hours on trying to get the feature box to work and been to more websites than I can count. You made it simple and easy. Thank you.

  13. 78

    How to display FCG in front page only?
    my FCG is working fine using ur idea but shows up every where so i really appreciate if you give me hints to make it display only in front page (home page).

    Thank you,

  14. 80

    Hi I can not seem to find the customs fields area on my dashboard dang!

  15. 81

    oops I found it thanks

  16. 82

    Hi I cant get the pictures to go into the box they stay outside the box and go into the post I think it is the config part that I am messing up on I can’t seem to figure out how toconfig the custom fields please help

  17. 83

    Hi Greg I am having trouble getting pictures to load in the player. I uploasd them to the post but they keep ending up with wording. can you help. I think the problem is with my config not sure how to do it.

  18. 84
    Chat :

    Very good and interesting site with very good look and perfect information … I like it.

Trackbacks

  1. [...] Get Featured Content Gallery to work in Thesis (tags: thesis thesiswp wordpress featured content gallery FCG howto tutorial) [...]

  2. [...] Thesis with WordPress and phpBB3 Integrate Featured Content Gallery with Thesis Author: Greg Rickaby Site: [...]

Leave a Comment

Comment Policy: Thanks for visiting my site! Comments are a permanent record of who you are and what you stand for. Your words are your own, so be nice and helpful if you can. Unhelpful, disrespectful, or spammy comments will be deleted. All comments are read and appreciated, and if you have a question, I will try to respond within a couple days.

*