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 .
*/
/**
* $Id: archive.php 3 2009-04-09 21:33:47Z jcanals $
*
* Archives page
* Also used for author, categories, tags..
*/
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(__('Articles in date: %s', 'chameleon'), get_the_time(get_option('date_format')));
echo '
';
} elseif (is_month()) { // Monthly archive
echo '';
printf(__('Articles in month: %s', 'chameleon'), get_the_time('F, Y'));
echo '
';
} elseif (is_year()) { // Yearly archive
echo '';
printf(__('Articles in year: %s', 'chameleon'), get_the_time('Y'));
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 : ?>