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'); ?>
Step 3: Click “Little Ass Save Button”
Step 4: In your Dashboard go to “Settings” and “Featured Content Gallery” configure FCG similar to this:
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:
Finished: The finished product working in the “Header” Hook
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















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
What's your login? I can try and fix it for you!
What's your login? I can try and fix it for you!
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
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
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
Great idea. Thank for sharing.
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.
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?
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.
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!
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!
This is really very nice tutorial. Now featured content gallery has more power with help of thesis. Thank you for your share.
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.
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,
Use conditional tags. http://gregrickaby.com/2009/06/use-conditional-tags-in-thesis.html
Hi I can not seem to find the customs fields area on my dashboard dang!
oops I found it thanks
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
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.
Very good and interesting site with very good look and perfect information … I like it.