Twenty Ten and Featured Content Gallery

How to integrate the Featured Content Gallery plugin with the Twenty Ten theme from Word Press.

Activate the Twenty Ten theme in your blog.

Download, install, and activate the featured content gallery plugin. Add 2 featured items by following the plugin instructions.

Open the file header.php located inside the TwentyTen theme.

Look around line 77 to remove the default header image code for TwentyTen.

<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />

Then go down a few lines and look for:

<div id="access" role="navigation">

Then place the featured content gallery code right below that:

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

It really works nice, with the navigation just below the featured content gallery.

Remember: The featured content gallery needs at least 2 featured items to work. So if you are seeing a blank spot, add 2 featured items.

This works with both TwentyTen 1.0 and 1.1 theme versions.