This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ get_header(); ?>
'; printf(__('Posts for category ‘%s’', 'chameleon'), single_cat_title('', false)); echo ''; } elseif (is_tag() ) { // Tag Archive echo '

'; printf(__('Posts tagged ‘%s’', 'chameleon'), single_cat_title('', false)); echo '

'; } elseif (is_day() ) { // Daily archive echo '

'; printf(__('Posts in date: %s', 'chameleon'), get_the_time(get_option('date_format'))); echo '

'; } elseif (is_month() ) { // Monthly archive echo '

'; printf(__('Posts in month: %s', 'chameleon'), get_the_time('F, Y')); echo '

'; } elseif (is_year() ) { // Yearly archive echo '

'; printf(__('Posts in year: %s', 'chameleon'), get_the_time('Y')); echo '

'; } elseif (is_author() ) { global $authordata; if(get_query_var('author_name')) : $authordata = get_userdatabylogin(get_query_var('author_name')); else : $authordata = get_userdata(get_query_var('author')); endif; echo '

'; printf(__('Posts by author: %s', 'chameleon'), apply_filters('chameleon_author', $authordata->display_name)); echo '

'; } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { // Paged Archive echo '

'; printf(__('Archive of %s', 'chameleon'), get_bloginfo('name')); echo '

'; } include (TEMPLATEPATH . '/loop.php'); else : ?>