Exemple #1
0
<?php

/**
 * The template for displaying the header
 *
 * Displays all of the head element and everything up until the "site-content" div.
 *
 * @package WordPress
 * @subpackage Twenty_Fifteen
 * @since Twenty Fifteen 1.0
 */
$myOptions = new MyOptions();
?>
<!DOCTYPE html>
<html <?php 
language_attributes();
?>
 class="no-js">
<head>
	<meta charset="<?php 
bloginfo('charset');
?>
">
	<meta name="viewport" content="width=device-width">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
">
	<link rel="shortcut icon" href="<?php 
echo get_stylesheet_directory_uri();
Exemple #2
0
<?php

/**
 * The template for displaying the footer
 *
 * Contains the closing of the "site-content" div and all content after.
 *
 * @package WordPress
 * @subpackage Twenty_Fifteen
 * @since Twenty Fifteen 1.0
 */
$myOptions = new MyOptions();
?>
</div><!-- .site-content -->
	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="site-info">
			<?php 
$myOptions->getFooter();
?>
		</div><!-- .site-info -->
	</footer><!-- .site-footer -->
</div><!-- .site -->

<?php 
wp_footer();
?>
<!--回到顶部start-->
<div class="back-to-top"></div>
<script type="text/javascript" src="http://libs.useso.com/js/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
	$(window).scroll(function () {