Example #1
0
<?php

/**
 * フッターテンプレート
 * =====================================================
 * @package  epigone
 * @since 1.0.0
 * =====================================================
 */
?>
	<footer id="colophon" class="footer" role="contentinfo">

		<div class="row">
			<div class="footer__contents">
				<?php 
epigone_dynamic_sidebar('footer-primary');
?>
			</div>
		</div>
		<div class="footer__copyright site-info">
			<div class="row text-center">
				<span class="sep"> <?php 
echo get_theme_mod('copyright_text', 'copyright © ' . date('Y') . ' | ' . get_bloginfo('name'));
?>
</span>
			</div>
		</div>
	</footer>
</div>

<?php 
Example #2
0
?>
		</div>

		<section class="l-main main columns">

			<main role="main">

				<?php 
epigone_dynamic_sidebar('content-primary');
// Action hook before loading the main template.
do_action('get_main_template_before');
load_template(epigone_template_path());
?>

				<?php 
epigone_dynamic_sidebar('content-secondary');
// Action hook after loading the main template
do_action('get_main_template_after');
?>

			</main>
		</section>

		<aside class="l-sidebar sidebar columns" role="aside">

			<?php 
/**
 * Action Hook
 */
do_action('get_sidebar_template');
// Get sidebar
Example #3
0
<?php

/**
 * サイドバーテンプレート
 * =====================================================
 * @package  epigone
 * @license  GPLv2 or later
 * @since 1.0.0
 * =====================================================
 */
?>
<div id="secondary" class="widget-area" role="complementary">
	<?php 
if (!epigone_dynamic_sidebar('sidebar-primary')) {
    ?>

		<aside id="search" class="widget widget_search">
			<?php 
    get_search_form();
    ?>
		</aside>

		<aside id="archives" class="widget">
			<h1 class="widget-title"><?php 
    _e('Archives', 'epigone');
    ?>
</h1>
			<ul>
				<?php 
    wp_get_archives(array('type' => 'monthly'));
    ?>
Example #4
0
	<header class="entry__header">
		<div class="entry__meta">
			<?php 
epigone_posted_on();
?>
		</div>
		<!-- .entry-meta -->

		<h1 class="entry__title"><?php 
the_title();
?>
</h1>
	</header>
	<!-- .entry-header -->
	<?php 
epigone_dynamic_sidebar('single-under-title');
?>
	<div class="entry__content">
		<?php 
if (has_post_thumbnail() && 'true' === get_theme_mod('single_thumbnail', 'false')) {
    ?>
			<div class="entry__thumbnail">
				<?php 
    the_post_thumbnail();
    ?>
			</div>
			<?php 
}
the_content();
if (!current_theme_supports('epigone-pagination')) {
    wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'epigone'), 'after' => '</div>'));
Example #5
0
echo home_url();
?>
">
					<?php 
if (get_theme_mod('logo_image', '')) {
    ?>
						<img src="<?php 
    echo get_theme_mod('logo_image', '');
    ?>
" alt="<?php 
    bloginfo('name');
    ?>
"/>
						<?php 
} else {
    bloginfo('name');
}
?>

				</a>
			</h1>
		</div>
		<div class="large-12 columns">
			<?php 
epigone_dynamic_sidebar('header-primary');
do_action('get_header');
?>
		</div>
	</div>
</header>