示例#1
0
			<?php 
    the_post();
    ?>

			<header class="archive-header">
				<ul class="post-header-list">
					<li><i class="icon-user"></i></li>
					<li><h1 class="archive-title"><?php 
    printf(__(' All posts by %s', 'fixy'), '<span class="vcard"><a class="url fn n" href="' . esc_url(get_author_posts_url(get_the_author_meta('ID'))) . '" title="' . esc_attr(get_the_author()) . '" rel="me">' . get_the_author() . '</a></span>');
    ?>
</h1></li>
				</ul>
			</header><!-- .archive-header -->
			<div class="special-search-form"><?php 
    fixy_search_form(array('echo' => 1, 'author_show' => 1, 'label_show' => 1));
    ?>
</div>
			<?php 
    rewind_posts();
    ?>
			
			<?php 
    if (get_the_author_meta('description')) {
        ?>
				<?php 
        get_template_part('author-info');
        ?>
				
			<?php 
    }
示例#2
0
<?php

/* The Template for displaying 404 page.
 *
 * @package WordPress
 * @subpackage fixy
 * @since Fixy 0.1.0
 */
get_header();
?>
	<div class="primary" id="primary">
		<h1 class="page-header"><i class=" icon-attention"></i><?php 
_e('Not found', 'fixy');
?>
</h1>
			<div class="page-title"><?php 
_e('This is somewhat embarrassing, isn&rsquo;t it?', 'fixy');
?>
					<?php 
_e('It looks like nothing was found at this location. Maybe try a search?', 'fixy');
?>
</div>

		<div class="special-search-form"><?php 
fixy_search_form(array('echo' => 1, 'archive_show' => 1, 'cat_show' => 1, 'tag_show' => 1, 'author_show' => 1, 'label_show' => 1));
?>
</div>
	</div>
		
<?php 
get_footer();
示例#3
0
				<?php 
    if (tag_description()) {
        ?>
					<div class="archive-meta"><p style="text-align:justify;"><?php 
        echo tag_description();
        ?>
</p></div>
				<?php 
    }
    ?>
			
			</header><!-- .archive-header -->
			
			<div class="special-search-form">
				<?php 
    fixy_search_form(array('tag_show' => 1, 'echo' => 1, 'label_show' => 1));
    ?>
			</div><!-- .special-search-form -->
			
			<?php 
    while (have_posts()) {
        the_post();
        ?>
				<?php 
        get_template_part('content', get_post_format());
        ?>
			<?php 
    }
    ?>

		<?php 
示例#4
0
					<?php 
    if (is_day()) {
        printf(__(' Daily Archives: %s', 'fixy'), get_the_date());
    } elseif (is_month()) {
        printf(__(' Monthly Archives: %s', 'fixy'), get_the_date(_x('F Y', 'monthly archives date format', 'fixy')));
    } elseif (is_year()) {
        printf(__(' Yearly Archives: %s', 'fixy'), get_the_date(_x('Y', 'yearly archives date format', 'fixy')));
    } else {
        _e('Archives', 'fixy');
    }
    ?>
					</h1></li>
				</ul>
			</div>
				<div class="special-search-form"><?php 
    fixy_search_form(array('echo' => 1, 'archive_show' => 1, 'label_show' => 1));
    ?>
</div>
		
			<?php 
    while (have_posts()) {
        the_post();
        ?>
				<?php 
        get_template_part('content', get_post_format());
        ?>
			<?php 
    }
    ?>

		<?php 
示例#5
0
</h1></li>
				</ul>
					<?php 
    if (category_description()) {
        ?>
						<div class="archive-meta"><p style="text-align: justify;"><?php 
        echo category_description();
        ?>
</p></div>
					<?php 
    }
    ?>
					
			</header>
			<div class="special-search-form"><?php 
    fixy_search_form(array('echo' => 1, 'cat_show' => 1, 'label_show' => 1));
    ?>
</div>
			
			<?php 
    while (have_posts()) {
        the_post();
        ?>
				<?php 
        get_template_part('content', get_post_format());
        ?>
			<?php 
    }
    ?>