post_type == 'pet') { include('data_pet.php'); } elseif ($post->post_type == 'lost') { include('data_pet.php'); } else { } } function ada_pet() { global $post; if ($post->post_type == 'pet') { include('data_pet.php'); } elseif ($post->post_type == 'lost') { include('data_lost.php'); } else { } } // The filters add_filter('get_header','add_pet_data_style'); add_filter('the_excerpt_rss', 'rss_post_thumbnail'); add_filter('the_content_feed', 'rss_post_thumbnail'); ?>