$gallery_cat = get_option('simplepress_gallery'); if (is_archive()) $post_number = get_option('simplepress_archivenum_posts'); if (is_search()) $post_number = get_option('simplepress_searchnum_posts'); if (is_tag()) $post_number = get_option('simplepress_tagnum_posts'); if (is_category()) $post_number = get_option('simplepress_catnum_posts'); if (is_category($gallery_cat)) $post_number = get_option('simplepress_gallery_posts'); ?> Gallery - 2/2 - Boot Camp Annapolis