Problems with Featured Posts.
I've tried everything I know of to get this working, but the feature post will not show up in my child theme. I've inserted the function, applied the style to my css, but no luck.
Here is the function as it stand now. Any help would be awesome.
http://uberlawyer.com/n_controll/
<?php
// Featured Post
function featured_posts(){
$my_query = new WP_Query('tag=featured&showposts=1');
echo '<ul id="19">';
$feat_class = array();
while ($my_query->have_posts()) : $my_query->the_post();
$feat_class = array();
// Category for the post queried
foreach ( (array) get_the_category() as $cat )
$feat_class[] = 'about-our-firm' . $cat->slug;
$feat_class = join(" ", $feat_class);
?>
<li id="featured-<?php the_ID(); ?>" class="<?php echo $feat_class; ?>">
<?php
$posttitle = '<h4><a href="';
$posttitle .= get_permalink();
$posttitle .= '" title="';
$posttitle .= __('Permalink to ', 'thematic') . the_title_attribute('echo=0');
$posttitle .= '" rel="bookmark">';
$posttitle .= get_the_title();
$posttitle .= "</h4>\n";
echo $posttitle;
the_excerpt();
?>
<!-- .post -->
<?php
endwhile;
echo '';
}
add_action('thematic_above_indexloop','featured_posts');
?>