} ?> <?php $op4 = ma_get_option('hd4_se', 'mandy_advanced', ''); if ($op4 == 'yes') { ?> <li> <img src="<?php echo ma_get_option('hd4_tu', 'mandy_advanced', ''); ?> "> <div class="am-slider-desc"><div class="am-slider-content"><h2 class="am-slider-title"><?php echo ma_get_option('hd4_ms', 'mandy_advanced', ''); ?> </h2></div><a href="<?php echo ma_get_option('hd4_li', 'mandy_advanced', ''); ?> " class="am-slider-more">了解更多</a></div> </li> <?php } ?> </ul> </div> <?php } ?> </div> </div> <?php }
<!--footer--> <hr/> <footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{ }"> <div class="am-footer-miscs "> <p>©<?php date_default_timezone_set("PRC"); echo date("Y"); ?> <?php bloginfo('name'); ?> · Theme By Mandy</p> <p><a href="http://www.miitbeian.gov.cn/"><?php echo ma_get_option('icp', 'mandy_basics', ''); ?> </a></p> </div> </footer> <!--Modal--> <div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default am-no-layout" id=""> <ul class="btn3 clearfix"> <li class="ma_menu bt-name" data-am-navbar-share=""> <a href="###"> <span class="am-icon-share-square-o"></span> <span class="am-navbar-label">分享</span> </a> </li><!--menu--> <li class="ma_menu bt-name" data-am-navbar-qrcode="">
{ function wp_compress_html_main($buffer) { $initial = strlen($buffer); $buffer = explode("<!--wp-compress-html-->", $buffer); $count = count($buffer); for ($i = 0; $i <= $count; $i++) { if (stristr($buffer[$i], '<!--wp-compress-html no compression-->')) { $buffer[$i] = str_replace("<!--wp-compress-html no compression-->", " ", $buffer[$i]); } else { $buffer[$i] = str_replace("\t", " ", $buffer[$i]); $buffer[$i] = str_replace("\n\n", "\n", $buffer[$i]); $buffer[$i] = str_replace("\n", "", $buffer[$i]); $buffer[$i] = str_replace("\r", "", $buffer[$i]); while (stristr($buffer[$i], ' ')) { $buffer[$i] = str_replace(" ", " ", $buffer[$i]); } } $buffer_out .= $buffer[$i]; } $final = strlen($buffer_out); $savings = ($initial - $final) / $initial * 100; $savings = round($savings, 2); $buffer_out .= "\n<!--压缩前的大小: {$initial} bytes; 压缩后的大小: {$final} bytes; 节约:{$savings}% -->"; return $buffer_out; } ob_start("wp_compress_html_main"); } if (ma_get_option('htmlys', 'mandy_basics', '') == 't') { add_action('get_header', 'wp_compress_html'); }
<meta content="email=no" name="format-detection"> <title><?php ma_meta_title(); ?> </title> <link type="text/css" rel="stylesheet" href="http://cdn.amazeui.org/amazeui/2.4.2/css/amazeui.min.css" /> <link type="text/css" rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?> " /> <link type="text/css" rel="stylesheet" href="http://cdn.bootcss.com/jQuery.mmenu/5.5.3/core/css/jquery.mmenu.css" /> <style><?php $site_color = ma_get_option('top_color', 'mandy_basics', '#000'); ?> .ma_list_tag { background-color: <?php echo $site_color; ?> ;} span.cat_links a { background-color: <?php echo $site_color; ?> ;} .reply .comment-reply-link,.am-btn-secondary{ background-color: <?php echo $site_color; ?> ;} .form-submit .submit {border: 2px solid <?php