function howmanycols($last = true) { $counter = 0; if (pckr_option('about_option', 'off') == "on") { $counter++; } if (pckr_option('joinus_option', 'off') == "on") { $counter++; } if (pckr_option('partner_option', 'off') == "on") { $counter++; } $result = 10 / $counter; switch ($result) { case 1: $result = "tencol"; break; case 2: $result = "fivecol"; break; case 3: $result = "threecol"; $lastcol = "fourcol"; break; default: $result = "threecol"; $lastcol = "fourcol"; break; } if ($last == false && isset($lastcol)) { return $lastcol; } else { return $result; } }
function custom_infinite_scroll_js() { if (pckr_option('ajaxscroll', 'no entry') == 'on') { if (!is_singular()) { ?> <script type="text/javascript"> jQuery(document).ready(function(){ /** * Customize the previous navitation menu */ var infinite_scroll = { loading: { msgText: '<section class="loop-tags" style="border: 0;border-bottom: 1px solid #e6eaed;"><p align="center">正在加载……一秒钟的时间即可</p></section>', finishedMsg: '<section class="loop-tags" style="border: 0;border-bottom: 1px solid #e6eaed;"><p align="center">所有文章均已加载完成</p></section>' }, nextSelector:".pagination .next_page a", navSelector:".pagination", itemSelector:".posts", contentSelector:".articles" }; jQuery( infinite_scroll.contentSelector ).infinitescroll( infinite_scroll ); }); </script> <?php } } }
<!-- <section class="category-tag"> <h3>热门标签</h3> <div class="category-tag__tags cf"> <div class="left"> <div class="topic left"><span><a href="#" class="startups">WISE</a> / wise</span></div> </div> <ul class="category-tag__list cf"> </ul> </div> </section> --> </div> </div> </div> <?php if (pckr_option('two-column') == 'off') { ?> <?php get_sidebar('left'); ?> <?php } ?> </div> <?php get_sidebar(); ?> </div> <?php get_footer();
function KrTab() { ?> <section class="sidebar-tab"> <ul class="sidebar-tab__tabs cf tabs"> <li class="tab-forum"><a data-target="#tab-forum" title="" class=""><?php echo pckr_option('tabfirsttitle'); ?> </a></li> <li class="tab-36krplus active"><a data-target="#tab-36krplus" title="" class="active"><?php echo pckr_option('tabsecondtitle'); ?> </a></li> <li class="tab-815"><a class="" data-target="#tab-815" title=""><?php echo pckr_option('tabthirdtitle'); ?> </a></li> </ul> <div id="tabs-content" class="sidebar-tab__wrapper"> <div id="tab-forum" class="sidebar-tab__forum tabs-pane"> <ul> <?php query_posts('showposts=9&cat=' . pckr_option('tabfirst')); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <li><h2><a href="<?php the_permalink(); ?> " target="_blank"><?php the_title(); ?> </a></h2></li> <?php } } wp_reset_query(); ?> <span class="tabulousclear"></span> </ul> </div> <div id="tab-36krplus" class="sidebar-tab__36krplus tabs-pane active"> <ul> <?php query_posts('showposts=9&cat=' . pckr_option('tabsecond')); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <li><h2><a href="<?php the_permalink(); ?> " target="_blank"><?php the_title(); ?> </a></h2></li> <?php } } wp_reset_query(); ?> <span class="tabulousclear"></span> </ul> </div> <div id="tab-815" class="sidebar-tab__815 tabs-pane"> <ul> <?php query_posts('showposts=9&cat=' . pckr_option('tabthird')); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <li><h2><a href="<?php the_permalink(); ?> " target="_blank"><?php the_title(); ?> </a></h2></li> <?php } } wp_reset_query(); ?> <span class="tabulousclear"></span> </ul> </div> </div> </section> <?php }
</ul> </nav> <div class="search"> <form method="get" action="<?php bloginfo('url'); ?> /"> <input type="search" name="s" id="search" placeholder="搜索..."> </form> </div> <nav class="second-nav"> <ul> <li><a href="<?php echo pckr_option('header-last-button-1-url'); ?> " class="second-nav__submit"><?php echo pckr_option('header-last-button-1'); ?> </a></li> <li><a href="<?php echo pckr_option('header-last-button-url'); ?> " class="second-nav__login"><?php echo pckr_option('header-last-button'); ?> </a></li> </ul> </nav> </div> </header>
echo pckr_option('twitterurl'); ?> " class="icons-twitter external" target="_blank">Twitter</a> <span class="aside-social__count"><?php echo pckr_option('twittertip'); ?> </span> </li> <?php } ?> <?php if (pckr_option('facebook') == 'on') { ?> <li class="aside-social__items"> <a href="<?php echo pckr_option('facebookurl'); ?> " class="icons-facebook external" target="_blank">Facebook</a> <span class="aside-social__count"><?php echo pckr_option('facebooktip'); ?> </span> </li> <?php } ?> <?php if (pckr_option('feed') == 'on') { ?> <li class="aside-social__items">
?> }.footer{padding:40px 0;width:100%;border-top:1px solid #373a3c;background:#444749;color:rgba(236,235,231,0.5)}.footer h3{font-size:16px;font-size:1.6rem;margin-bottom:10px;color:#fff}.footer li{font-size:14px;font-size:1.4rem;line-height:2}.footer a{color:rgba(178,193,212,0.92)}.footer a:hover{border-bottom:1px solid rgba(172,172,164,0.7)}.footer .row>div{margin-bottom:20px}@media screen and (min-width:58.4375em){.footer .row>div{float:left;display:block;margin-right:2.5641%;width:23.07692%}.footer .row>div:last-child{margin-right:0}}@media screen and (min-width:86.4375em){.footer .row>div{float:left;display:block;margin-right:1.69492%;width:23.72881%}.footer .row>div:last-child{margin-right:0}}.footer .footer-partner li{margin-bottom:20px}.footer .footer-partner a{border-bottom:0}.footer .footer-copyright{margin-top:20px}.footer .footer-copyright p{font-size:12px;font-size:1.2rem;margin-bottom:10px}.pop-in.mfp-bg{background-color:rgba(61,67,76,0.7);background-image:-webkit-radial-gradient(rgba(0,0,0,0) 10%,rgba(0,0,0,0.6));background-image:radial,,rgba(0,0,0,0) 10%,rgba(0,0,0,0.6);opacity:0;filter:alpha(opacity=0);pointer-events:none;-webkit-transition:opacity .3s linear;-moz-transition:opacity .3s linear;transition:opacity .3s linear}.pop-in.mfp-bg.mfp-ready{opacity:1;filter:alpha(opacity=100);pointer-events:auto}.pop-in.mfp-bg.mfp-removing{opacity:0;filter:alpha(opacity=0)}.pop-in.mfp-removing .panel{-webkit-animation:hidePanel .5s ease;-moz-animation:hidePanel .5s ease;animation:hidePanel .5s ease}.pop-in .panel{opacity:1;-webkit-animation:showPanel .5s ease;-moz-animation:showPanel .5s ease;animation:showPanel .5s ease-in}.panel{font-size:14px;font-size:1.4rem;position:absolute;width:480px;height:420px;left:50%;top:50%;margin:-210px 0 0 -240px;padding:30px;-webkit-box-shadow:rgba(0,0,0,0.2) 0 3px 5px,rgba(0,0,0,0.1) 0 0 8px 1px,rgba(0,0,0,0.1) 0 0 0 1px;box-shadow:rgba(0,0,0,0.2) 0 3px 5px,rgba(0,0,0,0.1) 0 0 8px 1px,rgba(0,0,0,0.1) 0 0 0 1px;-webkit-border-radius:5px;border-radius:5px;overflow:hidden;background-color:#FFF}@media screen and (max-width:30em){.panel{width:320px;height:420px;left:50%;top:50%;margin:-210px 0 0 -160px}}.panel form{height:100%}.panel h3{margin-bottom:10px;font-weight:bold;text-align:center}.panel .login-social a{color:#fff;font-size:14px;font-size:1.4rem;text-align:center;display:inline-block;float:left;margin-right:20px;width:200px;height:40px;line-height:40px}.panel .login-social a:nth-child(2n){margin-right:0}@media screen and (max-width:30em){.panel .login-social a{width:120px}}.panel hr{margin:20px 0;height:1px;border:0;width:100%;background:#e6eaed}.panel .login-social__weibo,.panel .login-social__qq{margin-bottom:10px}.panel .login-social__weibo{background:#d04341}.panel .login-social__weibo:hover{background:#cb3432} .panel .login-social__qq{background:#34c8f4}.panel .login-social__qq:hover{background:#21c3f3}.panel .login-social__renren{background:#1469b4}.panel .login-social__renren:hover{background:#125ea2}.panel .login-social__github{background:#6e6e6e}.panel .login-social__github:hover{background:#646464}.panel .login input,.panel .register input{color:#747f8c;background:#e6eaed;-webkit-box-shadow:0 0 0 1000px #e6eaed inset;min-height:40px;width:100%!important;padding:10px 10px 10px 30px;margin-bottom:10px;border:0}.panel .login__links{margin-top:10px}.panel .login__links p{display:inline-block;margin-top:10px}.panel .submit{color:#fff;font-size:16px;font-size:1.6rem;font-weight:bold;width:120px;height:40px;padding:0;line-height:40px;background:<?php echo pckr_option('colorpicker', '#51aded'); ?> }.panel .submit:hover{background:#3fa4eb}.panel .register-section{display:none}.panel input{font-family:"Open Sans","Helvetica Neue",Helvetica,"Cabin",sans-serif}.login>div,.register>div{position:relative}.login i,.register i{position:absolute;top:13px;left:10px}.login-social i{font-size:18px;font-size:1.8rem;margin-right:5px;vertical-align:middle}.longweibo-section img{width:420px;height:260px}.weixin-section img{width:200px;height:200px;position:absolute;margin:-100px 0 0 -100px;left:50%;top:50%}#panel-weibo .submit{margin:0 130px}@media screen and (max-width:30em){#panel-weibo .submit{margin:0 50px}}@-webkit-viewport{width:device-width;zoom:1.0}@-moz-viewport{width:device-width;zoom:1.0}@-ms-viewport{width:device-width;zoom:1.0}@-o-viewport{width:device-width;zoom:1.0}@viewport{width:device-width;zoom:1.0}.tabs{display:none;visibility:hidden}.js .tabs{display:block;visibility:visible}.tabs a,.tabs button{cursor:pointer}.js .tabs-pane{display:none;visibility:hidden}.tabs-pane.active{display:block;visibility:visible}.tabs-horizontal,.tabs-stacked{list-style:none;margin-left:0;border-top:.07143em solid gray;background-color:#f4f4f4}.tabs-horizontal>li,.tabs-stacked>li{display:inline-block;float:none;padding:.5em 1em}.tabs-horizontal a,.tabs-stacked a{color:#808080;text-decoration:none}.tabs-horizontal>.active,.tabs-stacked>.active{background-color:#fff}.tabs-horizontal a:hover,.tabs-stacked a:hover,.tabs-horizontal>.active>a,.tabs-stacked>.active>a{color:#272727;text-decoration:none}@media(min-width:40em){.tabs-stacked{border:0;margin-left:0;padding-left:0;padding-top:1em;padding-bottom:1em}.tabs-stacked>li,.tabs-stacked>li>a{display:block;width:100%}}.tabs:before,.tabs:after{display:table;content:"";zoom:1}.tabs:after{clear:both}.widearea-overlayLayer{position:fixed;top:0;bottom:0;left:0;right:0;z-index:999998;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.widearea-overlayLayer.light{background-color:#fff}.widearea-overlayLayer textarea{-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.widearea-overlayLayer.light textarea{color:#ccc;background-color:#fff}.widearea-overlayLayer.light textarea:hover,.widearea-overlayLayer.light textarea:focus{color:black}.widearea-overlayLayer.dark{background-color:#2f3030}.widearea-overlayLayer.dark textarea{color:#999;background-color:#2f3030}.widearea-overlayLayer.dark textarea:hover,.widearea-overlayLayer.dark textarea:focus{color:#eee}.widearea-wrapper{width:100%!important;position:relative;margin-bottom:5px}.widearea-wrapper textarea{padding-right:20px!important;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}textarea.widearea-fullscreen{padding:20px!important;padding-top:30px!important;border:none!important;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important;max-width:900px!important;height:100%!important;width:100%!important;outline:none!important;margin:0 auto!important;display:block!important;font-size:20px!important;box-shadow:none!important;resize:none!important;line-height:1.6em!important}.widearea-controlPanel{position:absolute;right:0;top:0;padding-top:30px;padding-right:20px}.widearea-icons{width:16px;height:16px;position:absolute;top:12px;right:10px;padding-right:6px}.widearea-icon{height:16px;width:17px;background-repeat:no-repeat;-ms-filter:"alpha(opacity=50)";filter:alpha(opacity=50);-khtml-opacity:.5;opacity:.5;display:block;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;-ms-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1s ease-out}.widearea-icon:hover{-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100);-khtml-opacity:1;opacity:1}.widearea-icon.fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAdElEQVQ4y2Moqe9hwIOVgdgXG2YgoBGnZmI0grANORr1yLFRE02DLbEa3ZE0GQAxIxCrEqNRDYi9gFgXqgkmrsoANQFZsTYQewKxBj5DGaDOgGnWR3KaJzEaUTwOxTrEakTG+mh+IkqjHSFN+GxUJVcjQc0AeJ87GvESuWcAAAAASUVORK5CIIA=)} .widearea-icon.close{width:18px;height:18px;margin-bottom:15px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1RDBEOEJEOEI3MzAxMUUyQjA3QkQ4Nzg0REMzNTFCNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1RDBEOEJEOUI3MzAxMUUyQjA3QkQ4Nzg0REMzNTFCNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjVEMEQ4QkQ2QjczMDExRTJCMDdCRDg3ODREQzM1MUI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjVEMEQ4QkQ3QjczMDExRTJCMDdCRDg3ODREQzM1MUI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+g7ns7AAAANNJREFUeNqs1NsNwjAMBdBwFyAjdIN2hK7BDqzAD4wAM8AaHaHZoCMkG+AgWzJVcPyBJUt9JEdqepPD9f4MVBP1Qr1Rz9Q52BV5/FDHX86nFQo5Uo98HR3IyHOW2+M1QSFSFqYRqQ8G/px9tbAWIrWB1yR1MAupc2fwwvYwE6HFzuAHPcxE6g3UCwtrIjom2A3wYKmVNYQ/FRw58UTjC/IgPzE4kGRFg7ZHFKgbtl7OKgYHkj2hBR8Fnl9sYYPstdLLiYEV2WurwpLjYNNYkYPtLcAArD5XIbBkA6MAAAAASUVORK5CYII=)}.widearea-icon.changeTheme{width:18px;height:18px;clear:both;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEQkQ1QjdDM0I3MzgxMUUyQjA3QkQ4Nzg0REMzNTFCNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEQkQ1QjdDNEI3MzgxMUUyQjA3QkQ4Nzg0REMzNTFCNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjVEMEQ4QkRFQjczMDExRTJCMDdCRDg3ODREQzM1MUI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkRCRDVCN0MyQjczODExRTJCMDdCRDg3ODREQzM1MUI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+AzMsvAAAATRJREFUeNpibJq8jAEHcABibSDmB+L/QPwBiK8D8QFkRbU5kWCaBYsBUUBcAMSmOCw4CsTTgBjFBUxIbGYgngrES6GGnAfiaiiNDKyhaqYiOwTZIJAtWUD8CYhTgdgIiNuA+B4Ol2VBDUMxKBCI04D4NxC7AfEcJA1sDLhBWvOU5cEwg9iBuBPJlpMMpIF6oGHsTNDwUIV6YQ4D6UAXZAbIIGOowAoG8oEByCA+KOcJBQYJMTFQB3AwQaMbBGQoMOgpyKCzUE4EBQZdBBl0GohvA7ESEKeQYchlkBkgg34CcTlS6jYn0aBGYMb9CQvs9UA8C4hZgXgXmst+4TFkFtCQteh5LQvqIlBymA3E54C4CuplbACkNhvGQS5G/kIljiIVI4bEFiPYyqNlUExUwQYDAAEGANGJQntFVY0xAAAAAElFTkSuQmCC)}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;width:100%;height:100%;left:0;top:0}.mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-0.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:white}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;-webkit-box-shadow:none;box-shadow:none}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;color:white;font-style:normal;font-size:28px;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,Baskerville,monospace}.mfp-close:hover,.mfp-close:focus{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:white;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1;filter:alpha(opacity=100)}.mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after,.mfp-arrow .mfp-a{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before,.mfp-arrow .mfp-b{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after,.mfp-arrow-left .mfp-a{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before,.mfp-arrow-left .mfp-b{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after,.mfp-arrow-right .mfp-a{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before,.mfp-arrow-right .mfp-b{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:black}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0} .mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0 0;transform-origin:0 0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}footer{position:relative;padding:50px 0 25px 4%}footer{position:relative;z-index:3;padding-bottom:50px;background:#f5f5f5;color:#666;border-top:solid 1px #e9e9e9}footer a:hover{color:#9fa3a7}footer h2{font-weight:normal;font-size:20px;opacity:.5}footer h2,footer p{margin:0 0 20px}footer .links{margin:0 0 20px}footer .links li{float:left;width:33%;margin:1px 0;font-size:15px;line-height:25px}footer .links img{max-width:100%;height:auto;-webkit-filter:grayscale(1);-moz-filter:grayscale(1);filter:grayscale(1);opacity:.5}footer .links a{display:block;color:#9fa3a7}footer .links a:hover{color:#238ed3}footer .links a:hover img{opacity:1;-webkit-filter:grayscale(0);-moz-filter:grayscale(0);filter:grayscale(0)}footer .with-images li{width:40%;margin:0 5% 10px 0}.footer-tag{position:relative;display:block;overflow:hidden;color:#9fa3a7}.footer-tag strong{float:left}.footer-tag span{float:right;color:#238ed3}.footer-tag strong,.footer-tag span{-webkit-transition:color .1s ease;-moz-transition:color .1s ease;-o-transition:color .1s ease;transition:color .1s ease;position:relative;z-index:2;margin:0 -10px;padding:0 10px;background:#272829}.footer-tag::after{-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;transition:all .1s ease;position:absolute;top:50%;right:0;left:0;z-index:0;display:block;height:0;border-top:1px dotted rgba(255,255,255,0.3);content:" "}.footer-tag:hover strong{color:#238ed3}.footer-tag:hover::after{border-top:1px dotted #238ed3}footer .threecol div h2{display:inline-block}footer .threecol div a{float:right}.footer_footer{background-color:#ededed;height:34px;line-height:34px;width:100%;z-index:3;position:relative}.f_left{float:left;margin-left:4%;margin-top:1%}.f_right{font-size:12px;color:#919191}@media(max-width:750px){.footer_footer{height:80px}.f_right{float:left;clear:both}}@media(max-width:371px){.footer_footer{height:100px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.clearfix{*zoom:1}.foot{position:relative}.onecol,.twocol,.threecol,.fourcol,.fivecol,.sixcol,.sevencol,.eightcol,.ninecol,.tencol,.elevencol{float:left;margin-right:3.8%;min-height:1px}.foot .onecol{width:4.85%}.foot .twocol{width:13.45%}.foot .threecol{width:22.05%}.foot .fourcol{width:30.75%}.foot .fivecol{width:39.45%}.foot .sixcol{width:48%}.foot .sevencol{width:56.75%}.foot .eightcol{width:65.4%}.foot .ninecol{width:74.05%}.foot .tencol{width:82.7%}.foot .elevencol{width:91.35%}.foot .twelvecol{float:left;width:100%}.threecol p{font-size:15px;line-height:25px}.fourcol p{font-size:15px;line-height:25px}@media(max-width:860px){.logo-title{font-size:20px}#search{width:150px}.tags-list li{width:48%}.global-nav{padding:0;width:100%}.nav-categories,.search-wrapper,.global-nav .social-links,.events,.offline,.login-wrapper{display:none}.nav-links{display:block}}@media(max-width:700px){.layout-grid .threecol .article-pubdate{display:inline}.promoted-header,.promoted-story,.promoted-banner,.promoted-link .promoted-mark{display:none}.nav-categories{display:none}footer{padding:50px 4%;width:auto}.layout-grid .demo-stories,.layout-list .demo-stories{position:static}.logo-title{font-size:24px}.foot{margin-right:0;margin-left:0;padding-right:0;padding-left:0;min-width:0;width:100%}.foot .onecol,.foot .twocol,.foot .threecol,.foot .fourcol,.foot .fivecol,.foot .sixcol,.foot .sevencol,.foot .eightcol,.foot .ninecol,.foot .tencol,.foot .elevencol,.foot .twelvecol{float:none;margin-right:0;margin-left:0;padding-right:0;padding-left:0;width:auto}.tags-list .tags-list-head{position:static;display:block;clear:both;padding:0;width:100%}.tags-list{padding:0}.timeline .left,.timeline .right{float:none;width:100%}.timeline-node,.left .timeline-arrow,.right .timeline-arrow{display:none}.timeline .right article,.timeline .left article{margin:40px 0 0}.single-post #top{left:auto;right:4%} .single-post .demo-stories{margin:40px 0 0}.logo-wrapper{margin:20px 0}}.thumb-60{width:60px;height:60px;overflow:hidden}.notice{color:#7da33c;background:#ecf2d6 url('shortcode/notice.png') -1px -1px no-repeat;border:1px solid #aac66d;overflow:hidden;margin:10px 0;padding:15px 15px 15px 35px;font-size:14px}.warn,.post-password-form{color:#ad9948;background:#fff4b9 url('shortcode/warn.png') -1px -1px no-repeat;border:1px solid #eac946;overflow:hidden;margin:10px 0;padding:15px 15px 15px 35px;font-size:14px}.error{color:#c66;background:#ffecea url('shortcode/error.png') -1px -1px no-repeat;border:1px solid #ebb1b1;overflow:hidden;margin:10px 0;padding:15px 15px 15px 35px;font-size:14px}.tips{color:#777;background:#eaeaea url('shortcode/tips.png') -1px -1px no-repeat;border:1px solid #ccc;overflow:hidden;margin:10px 0;padding:15px 15px 15px 35px;font-size:14px}.left-hide{opacity:0;-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9);-webkit-transition:all ease-in-out .3s;-moz-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-perspective-origin:top center;-moz-perspective-origin:top center;perspective-origin:top center}.left-show{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}.headline-margin{margin-top:60px}#tinywidgets{width:45px;float:right;position:fixed;right:20px;bottom:150px;z-index:999;display:none}#pinglun,#gotop{width:45px;height:45px;background:<?php echo pckr_option('colorpicker', '#51aded'); ?> url(images/icon.png) no-repeat;display:block;margin-bottom:5px;filter:alpha(Opacity=80);-moz-opacity:.8;opacity:.8}#pinglun:hover,#home:hover,#gotop:hover{filter:alpha(Opacity=100);-moz-opacity:1;opacity:1}#pinglun{background-position:0 -50px}#gotop{background-position:0 -100px}@media screen and (min-width:30.0625em){#tinywidgets{display:block}}.animated{-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes slideDown{0%{-webkit-transform:translateY(-4em)}100%{-webkit-transform:translateY(0)}}@-moz-keyframes slideDown{0%{-moz-transform:translateY(-4em)}100%{-moz-transform:translateY(0)}}@-o-keyframes slideDown{0%{-o-transform:translateY(-4em)}100%{-o-transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(-4em)}100%{transform:translateY(0)}}.animated.slideDown{-webkit-animation-name:slideDown;-moz-animation-name:slideDown;-o-animation-name:slideDown;animation-name:slideDown}@-webkit-keyframes slideUp{0%{-webkit-transform:translateY(0)}100%{-webkit-transform:translateY(-4em)}}@-moz-keyframes slideUp{0%{-moz-transform:translateY(0)}100%{-moz-transform:translateY(-4em)}}@-o-keyframes slideUp{0%{-o-transform:translateY(0)}100%{-o-transform:translateY(-4em)}}@keyframes slideUp{0%{transform:translateY(0)}100%{transform:translateY(-4em)}}.animated.slideUp{-webkit-animation-name:slideUp;-moz-animation-name:slideUp;-o-animation-name:slideUp;animation-name:slideUp}#comments{padding-top:30px;padding-bottom:60px;-webkit-transition:transform .6s;transition:transform .6s}#comments.loader{WebkitTransform:translate3d(0,70px,0);transform:translate3d(0,70px,0)}#comments,#comments ul,#comments li{list-style:none}.commenttext{overflow:hidden;background:#fff;border-radius:3px;padding:15px}.commentavatar{float:left;margin:10px 10px 0 0}.commentavatar img{border-radius:50%}.commentmeta{color:#adb8cc;margin:0 0 5px;clear:both;overflow:hidden;font-size:14px}.commentid{float:left;margin-right:10px}.commentid a{color:<?php echo pckr_option('colorpicker', '#51aded'); ?> }.commenttime{float:left;margin-right:10px}.reply{float:right}.reply a{color:#adb8cc;font-size:16px;-webkit-transition:all .3s linear;-moz-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}.reply a:hover{color:#51aded;background:url(images/replyh.png) no-repeat right center;background-size:19px 12px}.commentcount a{color:#626773}a.comment-edit-link{color:#626773!important}.commentp{position:relative;font-size:16px;width:100%;line-height:30px;color:#626773}.commentp a{color:#51aded}.commentp p{display:inline}.moderation{font-style:normal;color:#adb8cc;margin-left:10px}#comments ul li{margin-bottom:35px}#comments ul li ul.children #respond{margin:20px 0}#comments ul li ul.children #respond form #comboxinfo .cominfodiv{width:202px}#comments ul li ul.children{margin:15px 0 0;padding:0 0 0 76px}#comments ul li ul.children li .commnetdiv{margin-top:15px;padding-top:15px;border-top:1px solid #f0f2f7}#comments ul li ul.children li .commentp a{color:#626773}#comments ul li ul.children li .commentmeta{margin:0 0 5px}#comments ul li ul.children ul{padding-left:0}#comments ul li ul.children li .commentavatar img{width:42px;height:42px;border-radius:50%} nav.commentnav{text-align:right;margin:10px 0}nav.commentnav a{color:#737f99;padding:5px 10px}nav.commentnav a:hover{color:#51aded}.commentnav span.current{color:#51aded;padding:0 5px}#comboxinfo{position:relative;height:46px;margin-bottom:17px}#comboxinfo .cominfodiv{float:left;position:relative;width:32%;height:46px;background:#fff;border:1px solid #e6eaf2;border-radius:3px}#comboxinfo .cominfodiv-email,#comboxinfo .cominfodiv-url{margin-left:2%}#comboxinfo .cominfodiv label{position:absolute;left:15px;line-height:46px;color:#626773;cursor:text}#comboxinfo #author,#comboxinfo #email,#comboxinfo #url{background:0;outline:medium none;border:medium none;float:left;width:100%;height:46px;line-height:26px;padding-left:70px;font-size:16px;color:#626773;font-family:'Open Sans',"Hiragino Sans GB",STXiHei,"Microsoft YaHei",SimSun,sans-serif}#respond textarea{background:0;outline:medium none;border:medium none;overflow:auto;background:#e6eaed;border:1px solid #e6eaf2;width:100%;height:124px;padding:10px 15px;line-height:24px;color:#626773;font-size:16px;resize:none;font-family:'Open Sans',"Hiragino Sans GB",STXiHei,"Microsoft YaHei",SimSun,sans-serif}.ajaxtipsdiv{padding:10px 0 0 68px}#comments ol#new_comm_1 li,#comments ol#new_comm_2 li,#comments ol#new_comm_3 li,#comments ol#new_comm_4 li,#comments ol#new_comm_5 li{margin:50px 0}#comments #commentlist ul.commentlist ul.children li div.commnetdiv div.commentavatar img{border-radius:50%;width:46px;height:46px}#comments #commentlist ul.commentlist ul.children li div.commnetdiv div.commentp{margin-top:4px;width:100%}#comments #commentlist ul.commentlist ul.children li div.commnetdiv div.commentp a{color:#626773}#comments #commentlist ul.commentlist ul.children li div.commnetdiv div.commentmeta{_display:none}#success_1 a,#success_2 a,#success_3 a,#success_4 a,#success_5 a{color:<?php echo pckr_option('colorpicker', '#51aded'); ?> }#success_1,#success_2,#success_3,#success_4,#success_5{color:#626773}#respond{margin-bottom:20px}#respond form#commentform img.avatar{border-radius:50px;float:left;display:block;margin-right:10px}a.profile,a.logout{color:#626773}a.profile:hover,a.logout:hover{color:#51aded}.welcome,.welcomediv{margin:10px 0 50px 0;height:28px;line-height:28px;position:relative}.welcometip{margin-right:10px;margin-top:15px;color:#626773;float:left}#showinfo{display:inline-block}#hideinfo{display:inline-block}#showinfo a,#hideinfo a{color:<?php echo pckr_option('colorpicker', '#51aded'); ?> }#showinfo a:hover,#hideinfo a:hover{color:#e64c66}input#submit{margin-top:15px;float:right;width:150px;width:120px;height:34px;background:<?php echo pckr_option('colorpicker', '#51aded'); ?> ;text-align:center;color:#fff;font-size:1.4rem;font-size:14px;border:medium none;outline:medium none;cursor:pointer;font-family:'Open Sans',Microsoft YaHei,Microsoft JHenghei,"Hiragino Sans GB",STXiHei,"Microsoft YaHei",SimSun,sans-serif;font-weight:bold;-webkit-transition:all .3s linear;-moz-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}input#submit:hover{background:#3fa4eb}#cancel_comment_reply a{display:block;float:right;border:1px solid #adb8cc;outline:medium none;margin:15px 15px 0 0;width:148px;height:44px;line-height:44px;text-align:center;color:#adb8cc;font-size:18px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-webkit-transition:all .3s linear;-moz-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear}#cancel_comment_reply a:hover{color:<?php echo pckr_option('colorpicker', '#51aded'); ?> ;border:1px solid <?php echo pckr_option('colorpicker', '#51aded'); ?> }#loading,#error{font-size:16px;position:absolute;color:#adb8cc;margin-top:20px}#error{color:#e64c66}*+html #loading{margin-left:1px}#loading-comments{display:none;top:0;width:100%;position:absolute;height:50px;line-height:50px;text-align:center;font-size:14px;color:#626773;margin-bottom:20px}.nimei{margin-right:10px;margin-top:2px;vertical-align:middle;display:inline-block}.commentp img{vertical-align:-4px}@media screen and (max-width:715px){#share_toolbar_wrapper{display:none}}
</article> <?php } if (pckr_option('focus', 'no entry') == 'on') { if ($count == pckr_option('focusnext', 'no entry')) { ?> <article class="posts post-1 cf"> <div class="image feature-img"> <a href="<?php echo pckr_option('focusurl', 'no entry'); ?> " class="center-post" target="_blank"><img class='image lazyload' src="http://static.mywpku.com/blank.gif" data-src="<?php echo pckr_option('uploadfocus', 'no entry'); ?> " alt=""> <div class="image-overlay small"></div> <h1><?php echo pckr_option('focustitle', 'no entry'); ?> </h1> </a> </div> </article> <?php } } unset($get); } } ?>
$(function() { jQuery("a:has(img)").attr({rel: "fancybox"}); jQuery("a[rel=fancybox]").fancybox(); }); </script> <?php } ?> <script src="<?php bloginfo('template_directory'); ?> /js/allinone.js"></script> <div id="tinywidgets"> <?php if (is_single() || is_page() && comments_open()) { ?> <a id="pinglun" href="javascript:void(0)"></a> <?php } ?> <a id="gotop" href="javascript:void(0)"></a> </div> <?php echo stripslashes(pckr_option('analy')); ?> <?php wp_footer(); ?> </body> </html>
/** * Defines an array of options that will be used to generate the settings page and be saved in the database. * When creating the 'id' fields, make sure to use all lowercase and no spaces. * * If you are making your theme translatable, you should replace 'options_framework_theme' * with the actual text domain for your theme. Read more: * http://codex.wordpress.org/Function_Reference/load_theme_textdomain */ function optionsframework_options() { $nmh304 = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $nocategory = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $useless = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $gravatar = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $comprhtml = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $fancybox = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $dashboard = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $focus = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $imgtext = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $weibo = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $twitter = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $facebook = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $feed = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $uselesswidgets = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $friendly = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $openthumbnails = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $timthumb = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $partner_option = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $about_option = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $joinus_option = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $contact_option = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $otherinfo_option = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $footer_option = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $ajaxscroll = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $twocolumn = array('on' => __('开启', 'options_framework_theme'), 'off' => __('关闭', 'options_framework_theme')); $options = array(); $options[] = array('name' => __('基本设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('网站描述', 'options_framework_theme'), 'desc' => __('SEO设置,输入您的网站描述,一般不超过200字符', 'options_framework_theme'), 'id' => 'desc', 'type' => 'text'); $options[] = array('name' => __('网站统计代码', 'options_framework_theme'), 'desc' => __('如百度统计、CNZZ、Google Analytics', 'options_framework_theme'), 'id' => 'analy', 'type' => 'textarea'); $options[] = array('name' => __('网站关键词', 'options_framework_theme'), 'desc' => __('SEO设置,输入您的网站关键词,以英文逗号(,)隔开。', 'options_framework_theme'), 'id' => 'keywords', 'type' => 'textarea'); $wp_editor_settings = array('wpautop' => true, 'textarea_rows' => 5, 'tinymce' => array('plugins' => 'wordpress'), 'teeny' => true); $options[] = array('name' => __('网站Favicon地址', 'options_framework_theme'), 'id' => 'favicon', 'type' => 'text'); $options[] = array('name' => __('手机端下菜单名称', 'options_framework_theme'), 'desc' => __('对应原36Kr中的“寻求报道”项目', 'options_framework_theme'), 'id' => 'mobilemenu', 'type' => 'text'); $options[] = array('name' => __('文章列表使用TimThumb进行截取缩略图', 'options_framework_theme'), 'desc' => __('若您喜欢截取缩略图的方式,可开启此功能', 'options_framework_theme'), 'id' => 'timthumb', 'std' => 'off', 'type' => 'radio', 'options' => $timthumb); $options[] = array('name' => __('网站双栏布局', 'options_framework_theme'), 'desc' => __('开启此功能后将自动废除左侧边栏,转换为双栏布局。', 'options_framework_theme'), 'id' => 'two-column', 'std' => 'off', 'type' => 'radio', 'options' => $twocolumn); $options[] = array('name' => __('文章内图片使用灯箱效果展示', 'options_framework_theme'), 'desc' => __('若您的网站图片较多,可开启此选项作进一步美化。', 'options_framework_theme'), 'id' => 'fancybox', 'std' => 'off', 'type' => 'radio', 'options' => $fancybox); $options[] = array('name' => __('主题主色设置', 'options_framework_theme'), 'desc' => __('通过此功能可以迅速打造出一个与原网站截然不同的风格!', 'options_framework_theme'), 'id' => 'colorpicker', 'std' => '#51aded', 'type' => 'color'); $options[] = array('name' => __('主题Logo位置颜色自定义', 'options_framework_theme'), 'desc' => __('请设置比以上略深一些的颜色', 'options_framework_theme'), 'id' => 'colorpicker-nd', 'std' => '#1D71B6', 'type' => 'color'); $options[] = array('name' => __('主题细节颜色自定义', 'options_framework_theme'), 'desc' => __('请设置比以上略浅一些的颜色', 'options_framework_theme'), 'id' => 'colorpicker-rd', 'std' => '#2277b7', 'type' => 'color'); $options[] = array('name' => __('文章页顶部图片自动调取', 'options_framework_theme'), 'desc' => __('默认为输入新的图片地址,但若您喜欢自动调取文章第一张图片,可开启此功能', 'options_framework_theme'), 'id' => 'openthumbnails', 'std' => 'off', 'type' => 'radio', 'options' => $openthumbnails); $options[] = array('name' => __('手机端下菜单URL', 'options_framework_theme'), 'desc' => __('对应原36Kr中的“寻求报道”项目所指向的URL', 'options_framework_theme'), 'id' => 'mobilemenurl', 'type' => 'text'); $options[] = array('name' => __('顶部Logo', 'options_framework_theme'), 'desc' => __('请上传一个尺寸为80*80的Logo文件或是输入文件URL<font color="red">(白色字体,无色背景)</font>', 'options_framework_theme'), 'id' => 'uploadlogo', 'type' => 'upload'); $options[] = array('name' => __('顶部滚动Logo', 'options_framework_theme'), 'desc' => __('请上传一个尺寸为80*60的Logo文件或是输入文件URL<font color="red">(蓝色字体,无色背景)</font>', 'options_framework_theme'), 'id' => 'uploadlogo1', 'type' => 'upload'); $options[] = array("name" => "缩略图自定义宽高", "id" => "thumb_width", "desc" => "仅针对大屏幕上的缩略图大小进行调整", "std" => "180px", "class" => "mini", "type" => "text"); $options[] = array("id" => "thumb_height", "std" => "120px", "class" => "mini", "desc" => "请注意尺寸需要后跟单位", "type" => "text"); $options[] = array('name' => __('底部是否开启', 'options_framework_theme'), 'desc' => __('用于显示关于本站、合作伙伴等信息,可自由选择开闭。', 'options_framework_theme'), 'id' => 'footer_option', 'std' => 'on', 'type' => 'radio', 'options' => $partner_option); $options[] = array('name' => __('合作伙伴/其他说明部分是否开启', 'options_framework_theme'), 'desc' => __('显示于底部第三列', 'options_framework_theme'), 'id' => 'partner_option', 'std' => 'on', 'type' => 'radio', 'options' => $partner_option); $options[] = array('name' => __('底部版权代码', 'options_framework_theme'), 'desc' => sprintf(__('显示于底部黑色部分', 'options_framework_theme')), 'id' => 'copyright', 'type' => 'editor', 'settings' => $wp_editor_settings); $options[] = array('name' => __('关于本站信息是否开启', 'options_framework_theme'), 'desc' => __('显示于底部第一列', 'options_framework_theme'), 'id' => 'about_option', 'std' => 'on', 'type' => 'radio', 'options' => $about_option); $options[] = array('name' => __('关于本站信息', 'options_framework_theme'), 'desc' => sprintf(__('显示于底部第一列', 'options_framework_theme')), 'id' => 'about', 'type' => 'editor', 'settings' => $wp_editor_settings); $options[] = array('name' => __('加入我们信息是否开启', 'options_framework_theme'), 'desc' => __('显示于底部第二列', 'options_framework_theme'), 'id' => 'joinus_option', 'std' => 'on', 'type' => 'radio', 'options' => $joinus_option); $options[] = array('name' => __('加入我们信息', 'options_framework_theme'), 'desc' => sprintf(__('显示于底部第二列', 'options_framework_theme')), 'id' => 'joinus', 'type' => 'editor', 'settings' => $wp_editor_settings); $options[] = array('name' => __('联系我们信息是否开启', 'options_framework_theme'), 'desc' => __('显示于底部第三列', 'options_framework_theme'), 'id' => 'contact_option', 'std' => 'on', 'type' => 'radio', 'options' => $contact_option); $options[] = array('name' => __('联系我们信息', 'options_framework_theme'), 'desc' => sprintf(__('显示于底部第三列', 'options_framework_theme')), 'id' => 'contact', 'type' => 'editor', 'settings' => $wp_editor_settings); $options[] = array('name' => __('详细信息URL', 'options_framework_theme'), 'desc' => __('建议跳转到联系方式页面', 'options_framework_theme'), 'id' => 'moreinfo', 'type' => 'text'); $options[] = array('name' => __('其他说明是否开启', 'options_framework_theme'), 'desc' => __('显示于非首页底部第三列,建议用于显示版权信息。', 'options_framework_theme'), 'id' => 'otherinfo_option', 'std' => 'on', 'type' => 'radio', 'options' => $otherinfo_option); $options[] = array('name' => __('其他说明', 'options_framework_theme'), 'desc' => sprintf(__('显示于非首页底部第三列,建议用于显示版权信息。', 'options_framework_theme')), 'id' => 'otherinfo', 'type' => 'editor', 'settings' => $wp_editor_settings); /*****网站加速设置*****/ $options[] = array('name' => __('网站加速/优化设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('304 Not Modified Header', 'options_framework_theme'), 'desc' => __('开启 304 Not Modified Header,提高网站效率 - 代码来自WPJAM', 'options_framework_theme'), 'id' => 'NMH304', 'std' => 'on', 'type' => 'radio', 'options' => $nmh304); $options[] = array('name' => __('开启文章列表无限载入 AJAX 效果', 'options_framework_theme'), 'desc' => __('优化访客体验,免翻页等待。', 'options_framework_theme'), 'id' => 'ajaxscroll', 'std' => 'off', 'type' => 'radio', 'options' => $nocategory); $options[] = array('name' => __('去除路径中多余Category标志', 'options_framework_theme'), 'desc' => __('No Category Base代码版,对SEO有良好效果,建议开启。', 'options_framework_theme'), 'id' => 'nocategory', 'std' => 'off', 'type' => 'radio', 'options' => $nocategory); $options[] = array('name' => __('去除无用代码', 'options_framework_theme'), 'desc' => __('去除WordPress不常用代码,加快网站速度。(开启后无法使用Windows Live Writer等工具发布文章)', 'options_framework_theme'), 'id' => 'useless', 'std' => 'off', 'type' => 'radio', 'options' => $useless); $options[] = array('name' => __('提升Gravatar加载速度', 'options_framework_theme'), 'desc' => __('通过七牛云存储强大的CDN功能,可将位于美国服务器的Gravatar下载至国内,提速效果明显', 'options_framework_theme'), 'id' => 'gravatar', 'std' => 'off', 'type' => 'radio', 'options' => $gravatar); $options[] = array('name' => __('压缩前台HTML代码', 'options_framework_theme'), 'desc' => __('删除WordPress输出页面多余空格,提速效果明显', 'options_framework_theme'), 'id' => 'comprhtml', 'std' => 'off', 'type' => 'radio', 'options' => $comprhtml); $options[] = array('name' => __('移除多余WordPress后台部件', 'options_framework_theme'), 'desc' => __('仪表盘内的WordPress新闻等部件并不经常使用,开启本功能提速效果明显', 'options_framework_theme'), 'id' => 'dashboard', 'std' => 'on', 'type' => 'radio', 'options' => $dashboard); $options[] = array('name' => __('SEO Friendly Images', 'options_framework_theme'), 'desc' => __('自动给文章图片添加Alt信息,对搜索引擎更加友好', 'options_framework_theme'), 'id' => 'friendly', 'std' => 'on', 'type' => 'radio', 'options' => $friendly); /*******菜单设置*******/ $options[] = array('name' => __('顶部导航设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('右侧白色按钮标题', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏右侧“投稿”位置', 'options_framework_theme'), 'id' => 'header-last-button-1', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('右侧白色按钮链接地址', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'header-last-button-1-url', 'type' => 'text'); $options[] = array('name' => __('右侧蓝色按钮标题', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏右侧“登录”位置', 'options_framework_theme'), 'id' => 'header-last-button', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('右侧蓝色按钮链接地址', 'options_framework_theme'), 'id' => 'header-last-button-url', 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[1]', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第一位并跟随滚动', 'options_framework_theme'), 'id' => 'header-first', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[1]链接地址', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'header-first-url', 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[2]', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第二位并跟随滚动', 'options_framework_theme'), 'id' => 'header-second', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[2]链接地址', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'header-second-url', 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[3]', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第三位并跟随滚动', 'options_framework_theme'), 'id' => 'header-third', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[3]链接地址', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'header-third-url', 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[4]', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第四位并跟随滚动', 'options_framework_theme'), 'id' => 'header-fourth', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[4]链接地址', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'header-fourth-url', 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[5]', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第五位并跟随滚动', 'options_framework_theme'), 'id' => 'header-fifth', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('顶部菜单名称[5]链接地址', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'header-fifth-url', 'type' => 'text'); /*******菜单设置*******/ $options[] = array('name' => __('下拉菜单设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('彩色Topic显示数量', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第一位的下拉菜单第二项', 'options_framework_theme'), 'id' => 'topic', "class" => "mini", 'type' => 'text'); $get = pckr_option('topic'); for ($i = 1; $i <= $get; $i++) { $options[] = array('name' => __('Topic[' . $i . ']链接显示名称', 'options_framework_theme'), 'id' => 'topic' . $i, "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('Topic[' . $i . ']链接显示别名', 'options_framework_theme'), 'id' => 'topic' . $i . '-slug', "class" => "mini", 'desc' => __('别名对应" /"斜杠后内容', 'options_framework_theme'), 'type' => 'text'); $options[] = array('name' => __('Topic[' . $i . ']链接地址', 'options_framework_theme'), 'id' => 'topic' . $i . '-url', 'type' => 'text'); $options[] = array('name' => __('Topic[' . $i . ']显示类型', 'options_framework_theme'), 'desc' => __('显示类型填写内容具体请看官网【主题使用教程】', 'options_framework_theme'), 'id' => 'topic' . $i . '-type', 'type' => 'text'); } $options[] = array('name' => __('下拉菜单底部蓝色按钮标题', 'options_framework_theme'), 'desc' => __('显示于下拉菜单“让您的主题出现在这里”位置', 'options_framework_theme'), 'id' => 'dropdown-button', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('下拉菜单底部蓝色按钮链接地址', 'options_framework_theme'), 'id' => 'dropdown-button-url', 'type' => 'text'); /*******线下活动菜单设置*******/ $options[] = array('name' => __('活动菜单设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('活动菜单标题', 'options_framework_theme'), 'desc' => __('显示于导航第二位', 'options_framework_theme'), 'id' => 'activity-title', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('显示数量', 'options_framework_theme'), 'desc' => __('显示于顶部导航栏第二位的“线下活动”,不填写为不开启', 'options_framework_theme'), 'id' => 'activity', "class" => "mini", 'type' => 'text'); $activity = pckr_option('activity'); for ($i = 1; $i <= $activity; $i++) { $options[] = array('name' => __('活动[' . $i . ']标题名称', 'options_framework_theme'), 'id' => 'activity' . $i, "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('活动[' . $i . ']标题链接', 'options_framework_theme'), 'id' => 'activity' . $i . '-url', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('活动[' . $i . ']月份', 'options_framework_theme'), 'id' => 'activity' . $i . '-month', 'desc' => __('活动月份填写格式为"JAN","FEB","WEN"', 'options_framework_theme'), 'type' => 'text'); $options[] = array('name' => __('活动[' . $i . ']时间', 'options_framework_theme'), 'desc' => __('活动时间为具体天数', 'options_framework_theme'), 'id' => 'activity' . $i . '-day', 'type' => 'text'); $options[] = array('name' => __('活动[' . $i . ']地址', 'options_framework_theme'), 'desc' => __('建议格式为“北京,中国”', 'options_framework_theme'), 'id' => 'activity' . $i . '-address', 'type' => 'text'); $options[] = array('name' => __('活动[' . $i . ']状态', 'options_framework_theme'), 'id' => 'activity' . $i . '-status', "class" => "mini", 'desc' => __('显示于活动地址的右侧', 'options_framework_theme'), 'type' => 'text'); $options[] = array('name' => __('活动[' . $i . ']是否激活', 'options_framework_theme'), 'id' => 'activity' . $i . '-check', "class" => "mini", 'desc' => __('仅可填写两个值:1、0,分别代表蓝色和灰色样式', 'options_framework_theme'), 'type' => 'text'); } $options[] = array('name' => __('下拉菜单底部蓝色按钮标题', 'options_framework_theme'), 'desc' => __('显示于下拉菜单“查看所有活动”位置', 'options_framework_theme'), 'id' => 'dropdown-activity-button', "class" => "mini", 'type' => 'text'); $options[] = array('name' => __('下拉菜单底部蓝色按钮链接地址', 'options_framework_theme'), 'id' => 'dropdown-activity-button-url', 'type' => 'text'); /*******小工具设置*******/ $options[] = array('name' => __('小工具设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('去除无用小工具', 'options_framework_theme'), 'desc' => __('由于没有专门给WordPress自带小工具设计样式,暂时关闭。', 'options_framework_theme'), 'id' => 'removewidgets', 'std' => 'on', 'type' => 'radio', 'options' => $uselesswidgets); $options[] = array('name' => __('Tab第一列显示标题', 'options_framework_theme'), 'desc' => __('对应36Kr中“社区新帖”部分,至多4个字', 'options_framework_theme'), 'id' => 'tabfirsttitle', 'class' => 'mini', 'std' => '社区新帖', 'type' => 'text'); $options[] = array('name' => __('Tab第一列显示内容', 'options_framework_theme'), 'desc' => __('对应36Kr中“社区新帖”部分,请在下方输入调取分类目录ID,若需调取多个请用英文逗号(,)隔开。', 'options_framework_theme'), 'id' => 'tabfirst', 'type' => 'text'); $options[] = array('name' => __('Tab第二列显示标题', 'options_framework_theme'), 'desc' => __('对应36Kr中“Startup-X”部分,至多4个字', 'options_framework_theme'), 'id' => 'tabsecondtitle', 'class' => 'mini', 'std' => 'Startup-X', 'type' => 'text'); $options[] = array('name' => __('Tab第二列显示内容', 'options_framework_theme'), 'desc' => __('对应36Kr中“Startup-X”部分,请在下方输入调取分类目录ID,若需调取多个请用英文逗号(,)隔开。', 'options_framework_theme'), 'id' => 'tabsecond', 'type' => 'text'); $options[] = array('name' => __('Tab第三列显示标题', 'options_framework_theme'), 'desc' => __('对应36Kr中“8点1氪”部分,至多4个字', 'options_framework_theme'), 'id' => 'tabthirdtitle', 'class' => 'mini', 'std' => '8点1氪', 'type' => 'text'); $options[] = array('name' => __('Tab第三列显示内容', 'options_framework_theme'), 'desc' => __('对应36Kr中“8点1氪”部分,请在下方输入调取分类目录ID,若需调取多个请用英文逗号(,)隔开。', 'options_framework_theme'), 'id' => 'tabthird', 'type' => 'text'); /*******广告/专题设置*******/ $options[] = array('name' => __('广告/专题设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('文章列表620*172专题/广告模块', 'options_framework_theme'), 'desc' => __('展示于文章列表,有极高的点击率。', 'options_framework_theme'), 'id' => 'focus', 'std' => 'off', 'type' => 'radio', 'options' => $focus); $options[] = array('name' => __('专题/广告标题', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'focustitle', 'type' => 'text'); $options[] = array('name' => __('专题/广告链接', 'options_framework_theme'), 'desc' => __('点击图片后跳转地址。', 'options_framework_theme'), 'id' => 'focusurl', 'type' => 'text'); $options[] = array('name' => __('展示于第几篇文章后?', 'options_framework_theme'), 'desc' => __('自定义专题/模块显示位置,例如输入7,则此图片出现于第七篇文章之后。', 'options_framework_theme'), 'id' => 'focusnext', 'type' => 'text'); $options[] = array('name' => __('专题/广告图片', 'options_framework_theme'), 'desc' => __('请上传一个尺寸为620px*172px的图片文件或是输入文件URL。', 'options_framework_theme'), 'id' => 'uploadfocus', 'type' => 'upload'); $options[] = array('name' => __('文章列表620*175图文广告模块', 'options_framework_theme'), 'desc' => __('展示于文章列表,有极高的点击率。', 'options_framework_theme'), 'id' => 'imgtext', 'std' => 'off', 'type' => 'radio', 'options' => $imgtext); $options[] = array('name' => __('展示于第几篇文章后?', 'options_framework_theme'), 'desc' => __('自定义图文显示位置,例如输入2,则此图片出现于第二篇文章之后。', 'options_framework_theme'), 'id' => 'imgtextnext', 'type' => 'text'); $options[] = array('name' => __('图文广告图片', 'options_framework_theme'), 'desc' => __('请上传一个尺寸为100px*100px的图片文件或是输入文件URL。', 'options_framework_theme'), 'id' => 'uploadimg', 'type' => 'upload'); $options[] = array('name' => __('图文广告标题', 'options_framework_theme'), 'desc' => __('用于显示产品名', 'options_framework_theme'), 'id' => 'imgtextitle', 'type' => 'text'); $options[] = array('name' => __('图文广告短地址', 'options_framework_theme'), 'desc' => __('用于显示产品地址(建议输入根域名,例如www.mywpku.com输入MYWPKu.COM更为合适)', 'options_framework_theme'), 'id' => 'imgtextsurl', 'type' => 'text'); $options[] = array('name' => __('图文广告地址', 'options_framework_theme'), 'desc' => __('用于显示产品地址(建议输入完整域名,例如www.mywpku.com输入http://www.mywpku.com更为合适)', 'options_framework_theme'), 'id' => 'imgtexturl', 'type' => 'text'); $options[] = array('name' => __('图文广告描述', 'options_framework_theme'), 'desc' => sprintf(__('用于显示产品描述', 'options_framework_theme')), 'id' => 'imgtextdesc', 'type' => 'editor', 'settings' => $wp_editor_settings); /*******社会化/订阅设置*******/ $options[] = array('name' => __('社会化/订阅设置', 'options_framework_theme'), 'type' => 'heading'); $options[] = array('name' => __('二维码描述', 'options_framework_theme'), 'desc' => __('显示于图片上方,一般为对图片的描述。', 'options_framework_theme'), 'id' => 'qrtext', 'type' => 'text'); $options[] = array('name' => __('二维码图片', 'options_framework_theme'), 'desc' => __('请上传一个尺寸为200*200的二维码图片文件或是输入文件URL', 'options_framework_theme'), 'id' => 'qrcode', 'type' => 'upload'); $options[] = array('name' => __('新浪微博', 'options_framework_theme'), 'desc' => __('展示于左侧二维码下方', 'options_framework_theme'), 'id' => 'Weibo', 'std' => 'on', 'type' => 'radio', 'options' => $weibo); $options[] = array('name' => __('新浪微博地址', 'options_framework_theme'), 'desc' => __('请输入新浪微博地址(带http://)', 'options_framework_theme'), 'id' => 'weibourl', 'type' => 'text'); $options[] = array('name' => __('新浪微博提示', 'options_framework_theme'), 'desc' => __('鼠标移动至图标后出现的Tooltip效果,必填', 'options_framework_theme'), 'id' => 'weibotip', 'type' => 'text'); $options[] = array('name' => __('Twitter', 'options_framework_theme'), 'desc' => __('展示于左侧二维码下方', 'options_framework_theme'), 'id' => 'Twitter', 'std' => 'off', 'type' => 'radio', 'options' => $twitter); $options[] = array('name' => __('Twitter地址', 'options_framework_theme'), 'desc' => __('请输入Twitter地址(带http://)', 'options_framework_theme'), 'id' => 'twitterurl', 'type' => 'text'); $options[] = array('name' => __('Twitter提示', 'options_framework_theme'), 'desc' => __('鼠标移动至图标后出现的Tooltip效果,必填', 'options_framework_theme'), 'id' => 'twittertip', 'type' => 'text'); $options[] = array('name' => __('Facebook', 'options_framework_theme'), 'desc' => __('展示于左侧二维码下方', 'options_framework_theme'), 'id' => 'Facebook', 'std' => 'off', 'type' => 'radio', 'options' => $facebook); $options[] = array('name' => __('Facebook地址', 'options_framework_theme'), 'desc' => __('请输入Facebook地址(带http://)', 'options_framework_theme'), 'id' => 'facebookurl', 'type' => 'text'); $options[] = array('name' => __('Facebook提示', 'options_framework_theme'), 'desc' => __('鼠标移动至图标后出现的Tooltip效果,必填', 'options_framework_theme'), 'id' => 'facebooktip', 'type' => 'text'); $options[] = array('name' => __('Feed订阅', 'options_framework_theme'), 'desc' => __('展示于左侧二维码下方', 'options_framework_theme'), 'id' => 'Feed', 'std' => 'on', 'type' => 'radio', 'options' => $feed); $options[] = array('name' => __('Feed订阅地址', 'options_framework_theme'), 'desc' => __('请输入Feed订阅地址(带http://)', 'options_framework_theme'), 'id' => 'feedurl', 'type' => 'text'); $options[] = array('name' => __('Feed订阅提示', 'options_framework_theme'), 'desc' => __('鼠标移动至图标后出现的Tooltip效果,必填', 'options_framework_theme'), 'id' => 'feedtip', 'type' => 'text'); return $options; }
function footer_code() { echo "<script type='text/javascript'>" . "\n"; echo pckr_option('analy'); echo "</script>" . "\n"; }