コード例 #1
0
ファイル: content-page.php プロジェクト: ReConcepts/mashariki
		</div><!-- .entry-content -->

		<div class="screen-reader-text" itemprop="datePublished" itemtype="https://schema.org/Date"><?php 
    echo get_the_date('Y-m-d');
    ?>
</div>

		<?php 
    $hide_meta_info = apply_filters('hoot_hide_meta_info', false, 'bottom');
    ?>
		<?php 
    if (!$hide_meta_info && 'bottom' == hoot_get_mod('post_meta_location')) {
        ?>
			<footer class="entry-footer">
				<?php 
        hoot_meta_info_blocks(hoot_get_mod('page_meta'), 'page');
        ?>
			</footer><!-- .entry-footer -->
		<?php 
    }
    ?>

	</article><!-- .entry -->

<?php 
    /**
     * If not viewing a single page i.e. viewing the page in a list index (Example: search results)
     */
} else {
    global $hoot_theme;
    if (empty($hoot_theme->searchresults_hide_pages)) {
コード例 #2
0
ファイル: loop-meta.php プロジェクト: hect1c/martina-blog
									<?php 
                $hide_meta_info = '';
                $hide_meta_info = apply_filters('hoot_hide_meta_info', $hide_meta_info, 'top');
                ?>
									<?php 
                if (!$hide_meta_info && 'top' == hoot_get_option('post_meta_location') && !is_attachment()) {
                    ?>
										<div <?php 
                    hoot_attr('loop-description');
                    ?>
>
											<?php 
                    if (is_page()) {
                        hoot_meta_info_blocks(hoot_get_option('page_meta'));
                    } else {
                        hoot_meta_info_blocks(hoot_get_option('post_meta'));
                    }
                    ?>
										</div><!-- .loop-description -->
									<?php 
                }
                ?>

								</div><!-- .entry-header -->
							</div><!-- .loop-meta -->

						</div>
					</div>
				</div>

			<?php 
コード例 #3
0
?>
			</header><!-- .entry-header -->

			<?php 
if (is_sticky()) {
    ?>
				<div class="entry-sticky-tag contrast-typo"><?php 
    _e('Sticky', 'responsive-brix');
    ?>
</div>
			<?php 
}
?>

			<?php 
hoot_meta_info_blocks(hoot_get_option('archive_post_meta'));
?>

			<div <?php 
hoot_attr('entry-summary');
?>
>
				<?php 
if ('full-content' == hoot_get_option('archive_post_content')) {
    the_content();
} else {
    the_excerpt();
}
?>
			</div><!-- .entry-summary -->
コード例 #4
0
ファイル: content.php プロジェクト: ReConcepts/mashariki
		</div><!-- .entry-content -->

		<div class="screen-reader-text" itemprop="datePublished" itemtype="https://schema.org/Date"><?php 
    echo get_the_date('Y-m-d');
    ?>
</div>

		<?php 
    $hide_meta_info = apply_filters('hoot_hide_meta_info', false, 'bottom');
    ?>
		<?php 
    if (!$hide_meta_info && 'bottom' == hoot_get_mod('post_meta_location') && !is_attachment()) {
        ?>
			<footer class="entry-footer">
				<?php 
        hoot_meta_info_blocks(hoot_get_mod('post_meta'), 'post');
        ?>
			</footer><!-- .entry-footer -->
		<?php 
    }
    ?>

	</article><!-- .entry -->

<?php 
    /**
     * If not viewing a single post i.e. viewing the post in a list index (archive etc.)
     */
} else {
    $archive_type = apply_filters('hoot_default_archive_type', 'big', 'content');
    $archive_template = apply_filters('hoot_default_archive_location', 'template-parts/content-archive', $archive_type, 'content');
コード例 #5
0
if (is_sticky()) {
    ?>
				<div class="entry-sticky-tag contrast-typo"><?php 
    _e('Sticky', 'responsive-brix');
    ?>
</div>
			<?php 
}
?>

			<div class="screen-reader-text" itemprop="datePublished" itemtype="https://schema.org/Date"><?php 
echo get_the_date('Y-m-d');
?>
</div>
			<?php 
hoot_meta_info_blocks(hoot_get_mod('archive_post_meta'), 'archive-big');
?>

			<div <?php 
hoot_attr('entry-summary');
?>
>
				<?php 
if ('full-content' == hoot_get_mod('archive_post_content')) {
    the_content();
} else {
    the_excerpt();
}
?>
			</div><!-- .entry-summary -->
コード例 #6
0
		</div><!-- .entry-content -->

		<div class="screen-reader-text" itemprop="datePublished" itemtype="https://schema.org/Date"><?php 
    echo get_the_date('Y-m-d');
    ?>
</div>

		<?php 
    $show_entry_footer = apply_filters('hoot_show_entry_footer', true);
    ?>
		<?php 
    if ($show_entry_footer && 'bottom' != hoot_get_option('post_meta_location') && !is_attachment()) {
        ?>
			<footer class="entry-footer">
				<?php 
        hoot_meta_info_blocks(array('author' => false, 'date' => false, 'cats' => true, 'tags' => true, 'comments' => true));
        ?>
			</footer><!-- .entry-footer -->
		<?php 
    }
    ?>

	</article><!-- .entry -->

<?php 
    /**
     * If not viewing a single post i.e. viewing the post in a list index (archive etc.)
     */
} else {
    $archive_type = 'big';
    // Loads the template-parts/content-archive-{type}.php template.