I have a featured slider on my page here - http://chrispriddy.com that only appears on the first page. I want to take it to the categories page (like here - http://chrispriddy.com/category/3d-stills/ ), and call the category to use as the primary info on that page. I am using the ePhoto theme from elegantthemes.com. Here is the code in the "featured.php" - <?php $feat_cat = get_catId(get_option('ephoto_feat_cat')); ?> <div style="clear: both;"></div> <div class="featured"> <div id="sections"> <ul><?php $ids = array(); ?> <?php $my_query = new WP_Query("cat=$feat_cat&showposts=$ephoto_homepage_featured;"); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?> <?php $width = 655; $height = 364; $classtext = ''; $titletext = get_the_title(); $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,true); $thumb = $thumbnail["thumb"]; ?> <li style="background-image: url('<?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, '', true, true); ?>');"> <div class="sections-overlay"> <?php $video = get_post_meta($post->ID, 'Video', $single = true); ?> <?php if($video <> '') : ?> <a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><img src="<?php bloginfo('template_directory'); ?>/images/play.png" alt="zoom" class="zoom" /></a> <?php else : ?> <a href="<?php echo $thumbnail["fullpath"]; ?>" title="<?php the_title() ?>" rel="lightbox[26]"><img src="<?php bloginfo('template_directory'); ?>/images/zoom.png" alt="zoom" class="zoom" /></a> <?php endif; ?> </div> </li> <?php $ids[]= $post->ID; ?> <?php endwhile; wp_reset_query(); ?> </ul> </div> <!-- -end sections --> <div id="featured-right"> <div id="sections2"> <ul> <?php $my_query = new WP_Query("cat=$feat_cat&showposts=$ephoto_homepage_featured;"); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?> <?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);?> <li> <h2 class="featured-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permanent Link to %s','ePhoto'), get_the_title()) ?>"> <?php truncate_title(20) ?> </a></h2> <div class="featured-info"><?php _e('Posted by','ePhoto') ?> <?php the_author() ?> | <?php the_time(get_option('ephoto_date_format')) ?> </div> <?php truncate_post(250); ?> <div style="clear: both;"></div> <a href="<?php the_permalink() ?>" class="featured-readmore"><?php _e('read more','ePhoto') ?></a> </li> <?php endwhile; wp_reset_query(); ?> </ul> </div> <!-- -end sections2 --> <div style="clear: both;"></div> <div id="featured-button"> <div class="prev"> <div class="prev-hover"> </div> </div> <div class="next"> <div class="next-hover"></div> </div> </div> <!-- -end featured-bottom --> </div> <!-- -end featured-right --> </div> <!-- -end featured --> PHP: So to rehash, I want to change this from featured to call the category that the pics are in. I see there are a lot of things telling this to use the "featured post", which I choose in the back end of my theme.