Ejemplo n.º 1
0
<?php

get_header();
?>

		<div id="container">
			<div id="content">

<?php 
the_post();
?>

				<h1 class="page-title"><?php 
printf(__('Tag Archives: %s', 'twentyten'), '<span>' . single_tag_title('', false) . '</span>');
?>
</h1>

<?php 
rewind_posts();
?>

<?php 
get_generic_template('loop', 'tag');
?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php 
get_sidebar();
get_footer();
Ejemplo n.º 2
0
get_header();
?>

		<div id="container">
			<div id="content">

<?php 
if (have_posts()) {
    ?>
				<h1 class="page-title"><?php 
    printf(__('Search Results for: %s', 'twentyten'), '<span>' . get_search_query() . '</span>');
    ?>
</h1>
	<?php 
    get_generic_template('loop', 'search');
} else {
    ?>
				<div id="post-0" class="post no-results not-found">
					<h2 class="entry-title"><?php 
    _e('Nothing Found', 'twentyten');
    ?>
</h2>
					<div class="entry-content">
						<p><?php 
    _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten');
    ?>
</p>
						<?php 
    get_search_form();
    ?>
Ejemplo n.º 3
0
    echo get_avatar(get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60));
    ?>
						</div><!-- #author-avatar 	-->
						<div id="author-description">
							<h2><?php 
    printf(__('About %s', 'twentyten'), get_the_author());
    ?>
</h2>
							<?php 
    the_author_meta('description');
    ?>
						</div><!-- #author-description	-->
					</div><!-- .entry-author-info -->
<?php 
}
?>

<?php 
rewind_posts();
?>

<?php 
get_generic_template('loop', 'author');
?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php 
get_sidebar();
get_footer();
Ejemplo n.º 4
0
} elseif (is_year()) {
    ?>
				<h1 class="page-title"><?php 
    printf(__('Yearly Archives: <span>%s</span>', 'twentyten'), get_the_date('Y'));
    ?>
</h1>
<?php 
} else {
    ?>
				<h1 class="page-title"><?php 
    _e('Blog Archives', 'twentyten');
    ?>
</h1>
<?php 
}
?>

<?php 
rewind_posts();
?>

<?php 
get_generic_template('loop', 'archive');
?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php 
get_sidebar();
get_footer();
Ejemplo n.º 5
0
<?php

get_header();
?>

		<div id="container">
			<div id="content">

				<h1 class="page-title"><?php 
printf(__('Category Archives: %s', 'twentyten'), '<span>' . single_cat_title('', false) . '</span>');
?>
</h1>
				<?php 
$categorydesc = category_description();
if (!empty($categorydesc)) {
    echo apply_filters('archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>');
}
?>

<?php 
get_generic_template('loop', 'category');
?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php 
get_sidebar();
get_footer();