Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
footer.php 6.78 KB
Copy Edit Web IDE Raw Blame History
Spirit authored 2019-12-26 19:52 . fix
* The template for displaying the footer.
* Contains the closing of the #content div and all content after.
* @link
* @package Sakura
</div><!-- #content -->
comments_template('', true);
</div><!-- #page Pjax container-->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info" theme-info="Sakura v<?php echo SAKURA_VERSION; ?>">
<div class="footertext">
<div class="img-preload">
<img src="">
<img src="">
<p style="color: #666666;"><?php echo akina_option('footer_info', ''); ?></p>
<div class="footer-device">
<p style="font-family: 'Ubuntu', sans-serif;">
<span style="color: #b9b9b9;">
<?php /* 能保留下面两个链接吗?算是我一个小小的心愿吧~ */ ?>
Theme <a href="" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Sakura</a> <i class="iconfont icon-sakura rotating" style="color: #ffc0cb;display:inline-block"></i> by <a href="" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Mashiro</a>
</div><!-- .site-info -->
</footer><!-- #colophon -->
<div class="openNav no-select">
<div class="iconflat no-select">
<div class="icon"></div>
<div class="site-branding">
<?php if (akina_option('akina_logo')){ ?>
<div class="site-title"><a href="<?php bloginfo('url');?>" ><img src="<?php echo akina_option('akina_logo'); ?>"></a></div>
<?php }else{ ?>
<h1 class="site-title"><a href="<?php bloginfo('url');?>" ><?php bloginfo('name');?></a></h1>
<?php } ?>
</div><!-- m-nav-bar -->
</section><!-- #section -->
<!-- m-nav-center -->
<div id="mo-nav">
<div class="m-avatar">
<?php $ava = akina_option('focus_logo') ? akina_option('focus_logo') : get_template_directory_uri().'/images/avatar.jpg'; ?>
<img src="<?php echo $ava ?>">
<div class="m-search">
<form class="m-search-form" method="get" action="<?php echo home_url(); ?>" role="search">
<input class="m-search-input" type="search" name="s" placeholder="<?php _e('Search...', 'sakura') /*搜索...*/?>" required>
<?php wp_nav_menu( array( 'depth' => 2, 'theme_location' => 'primary', 'container' => false ) ); ?>
</div><!-- m-nav-center end -->
<a class="cd-top faa-float animated "></a>
<button onclick="topFunction()" id="moblieGoTop" title="Go to top"><i class="fa fa-chevron-up" aria-hidden="true"></i></button>
<!-- search start -->
<form class="js-search search-form search-form--modal" method="get" action="<?php echo home_url(); ?>" role="search">
<div class="search-form__inner">
<?php if(akina_option('live_search')){ ?>
<div class="micro">
<i class="iconfont icon-search"></i>
<input id="search-input" class="text-input" type="search" name="s" placeholder="<?php _e('Want to find something?', 'sakura') /*想要找点什么呢*/?>" required>
<div class="ins-section-wrapper">
<a id="Ty" href="#"></a>
<div class="ins-section-container" id="PostlistBox"></div>
<?php }else{ ?>
<div class="micro">
<p class="micro mb-"><?php _e('Want to find something?', 'sakura') /*想要找点什么呢*/?></p>
<i class="iconfont icon-search"></i>
<input class="text-input" type="search" name="s" placeholder="<?php _e('Search', 'sakura') ?>" required>
<?php } ?>
<div class="search_close"></div>
<!-- search end -->
<?php wp_footer(); ?>
<?php if(akina_option('site_statistics')){ ?>
<div class="site-statistics">
<script type="text/javascript"><?php echo akina_option('site_statistics'); ?></script>
<?php } ?>
<div class="changeSkin-gear no-select" style="bottom: -999px;">
<div class="keys">
<span id="open-skinMenu">
<i class="iconfont icon-gear inline-block rotating"></i>&nbsp; 切换主题 | SCHEME TOOL
<div class="skin-menu no-select">
<div class="theme-controls row-container">
<ul class="menu-list">
<li id="white-bg">
<i class="fa fa-television" aria-hidden="true"></i>
<li id="sakura-bg">
<i class="iconfont icon-sakura"></i>
<li id="gribs-bg">
<i class="fa fa-slack" aria-hidden="true"></i>
<li id="KAdots-bg">
<i class="iconfont icon-dots"></i>
<li id="totem-bg">
<i class="fa fa-superpowers" aria-hidden="true"></i>
<li id="pixiv-bg">
<i class="iconfont icon-pixiv"></i>
<li id="bing-bg">
<i class="iconfont icon-bing"></i>
<li id="dark-bg">
<i class="fa fa-moon-o" aria-hidden="true"></i>
<div class="font-family-controls row-container">
<button type="button" class="control-btn-serif selected" data-mode="serif"
<button type="button" class="control-btn-sans-serif" data-mode="sans-serif"
onclick="mashiro_global.font_control.change_font()">Sans Serif</button>
<canvas id="night-mode-cover"></canvas>
<?php if (akina_option('sakura_widget')) : ?>
<aside id="secondary" class="widget-area" role="complementary" style="left: -400px;">
<div class="heading"><?php _e('Widgets') /*小工具*/ ?></div>
<div class="sakura_widget">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sakura_widget')) : endif; ?>
<div class="show-hide-wrap"><button class="show-hide"><svg xmlns="" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg></button></div>
<?php endif; ?>
<?php if (akina_option('playlist_id', '')): ?>
<div id="aplayer-float" style="z-index: 100;"
data-id="<?php echo akina_option('playlist_id', ''); ?>"
<?php endif; ?>