コード例 #1
0
 * @since Twenty Twelve 1.0
 */
?>

	<article id="post-<?php 
get_post_meta(get_the_ID(), 'webcomic_collection');
?>
" class="webcomic-archive-content">
		<header class="archive-header">
			<h1 class="archive-title"><?php 
if (is_webcomic_archive()) {
    post_type_archive_title(sprintf('%s', __('Arquivo: ', 'twentytwelve')));
} elseif (is_webcomic_storyline()) {
    webcomic_storyline_title(sprintf('%s', __('Arquivo: ', 'twentytwelve')));
} elseif (is_webcomic_character()) {
    webcomic_character_title(sprintf('%s', __('Arquivo: ', 'twentytwelve')));
} else {
    _e('Archives', 'twentytwelve');
}
?>
</h1>
		</header><!-- .archive-header -->

		
		<div class="entry-content">
			
			<?php 
if (is_webcomic_archive()) {
    ?>
				<?php 
    if (WebcomicTag::webcomic_collection_image()) {
コード例 #2
0
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
?>

	<header class="page-header">
		<h1 class="page-title">
		<?php 
if (is_webcomic_archive()) {
    post_type_archive_title(sprintf('%s', __('Arquivo: ', 'twentytwelve')));
} elseif (is_webcomic_storyline()) {
    webcomic_storyline_title(sprintf('%s', __('Arquivo: ', 'twentytwelve')));
} elseif (is_webcomic_character()) {
    webcomic_character_title(sprintf('%s', __('Personagem: ', 'twentytwelve')));
} else {
    _e('Archives', 'twentytwelve');
}
?>
		</h1>
	</header><!-- .archive-header -->

	<article id="post-<?php 
the_ID();
?>
" <?php 
post_class("webcomic-archive-content");
?>
>
		<div class="entry-content">
コード例 #3
0
ファイル: loop_start.php プロジェクト: ecerta/webcomic
    webcomic_storyline_description();
    ?>
</div><!-- .webcomic-storyline-description -->
	<nav class="webcomic-storyline"><?php 
    first_webcomic_storyline_link();
    previous_webcomic_storyline_link();
    random_webcomic_storyline_link();
    next_webcomic_storyline_link();
    last_webcomic_storyline_link();
    ?>
</nav><!-- .webcomic-storyline -->
<?php 
} elseif (is_webcomic_character()) {
    ?>
	<h2 class="webcomic-character-title"><?php 
    webcomic_character_title();
    ?>
</h2><!-- .webcomic-character-title -->
	<div class="webcomic-img webcomic-character-avatar"><?php 
    webcomic_character_avatar();
    ?>
</div><!-- .webcomic-character-avatar -->
	<div class="webcomic-character-description"><?php 
    webcomic_character_description();
    ?>
</div><!-- .webcomic-character-description -->
	<nav class="webcomic-character"><?php 
    first_webcomic_character_link();
    previous_webcomic_character_link();
    random_webcomic_character_link();
    next_webcomic_character_link();