예제 #1
0
}
?>
	<?php 
if (has_nav_menu('primary')) {
    ?>
		<nav id="site-navigation" class="main-navigation" role="navigation">
			<?php 
    wp_nav_menu(array('menu_class' => 'nav-menu', 'theme_location' => 'primary'));
    ?>
		</nav>
	<?php 
}
?>
	<?php 
if (is_active_sidebar('sidebar-1')) {
    ?>
		<div id="widget-area" class="widget-area" role="complementary"><?php 
    dynamic_sidebar('sidebar-1');
    ?>
</div>
	<?php 
}
?>
	<footer id="site-footer">
		<div class="copyright" role="contentinfo">&copy;<?php 
echo get_first_post_year() . '&nbsp;';
bloginfo('name');
?>
</div>
	</footer>
</section>
예제 #2
0
function get_copylight_credit($should_show_date = true)
{
    //サイト名のみ
    $site_tag = get_bloginfo('name');
    //
    $year = '';
    if ($should_show_date) {
        $year = get_first_post_year();
    }
    //サイト名とリンク
    $site_tag = ' <a href="' . home_url() . '">' . get_bloginfo('name') . '</a>';
    return '&copy; ' . $year . ' ' . $site_tag;
}
예제 #3
0
<?php 
} else {
    ?>

	</div><!--end article-area-->

	<?php 
    get_sidebar();
    ?>

	</div><!--end main contents-->
	<footer class="site-footer">
	<p class="copyright">
		(c) <?php 
    echo intval(get_first_post_year());
    ?>
 <a href="<?php 
    bloginfo('url');
    ?>
"><?php 
    bloginfo('name');
    ?>
</a> / Powered by <a href="http://wordpress.org/"><i class="icon icon-wordpress"></i>WordPress</a>
	</p>
</footer>

<script type="text/javascript">

//Show and Hide Menu
var hideMenuBtn = document.getElementById('hide-menu-button');