var quesnum=12; for(var i=1;i<=quesnum;i++){ var objName="c" + i; var obj=document.getElementsByName(objName); var objLen=obj.length; var objYN; objYN=false; for(var j=0;j<ob...
wecenter版本为3.3.0方法:SQL语句;关键:除question数据表、article数据表、user数据表外,aws_posts_index数据表中的废数据也要删除,否则前台页面垃圾成堆;删除aws_posts_index这个表中的废数据语句: delete from aws_posts_index where post_type = 'arti...
/** * WordPress 更改文章密码保护后显示的提示内容 */function password_protected_change( $content ) { global $post; if ( ! empty( $post->post_password ) && stripslashes( $_COOKIE['wp-postpas...
<script language="javascript">var oImgs=new Array("<a href='https://www.xinlixue.cn/wp/archives/1595.html' target='_blank'>爱TA还是喜欢TA?(Zick Rubin爱情与喜欢量表)</a>","<a href='...
<div class="lianglanwenxin"><header class="page-header"><h3 class="archive-title">网友最新提问</h3></header><?php $result = $wpdb->get_results("SELECT question_id,quest...
<style type="text/css">@media screen and (min-width: 800px) { .lianglan , .lianglanwenxin { width: 49%; height: auto; margin-bottom: 12px; float: left; display: inline; white-sp...
把下面代码放到你主题style.css文件的最后面(主题自定义中,额外css中添加也可以).mobile-bar {position: fixed;bottom: 0;left: 0;right: 0;background: #FFF;z-index: 9;border-top: 0px solid #e0e0e0;width: 100%;display: ...
//移除网址表单function url_filtered($fields){if(isset($fields['url']))unset($fields['url']);return $fields;}add_filter('comment_form_default_fields', 'url_filtered');
实际测试成功环境为百度BCH新建 bcloud_nginx_user.conf 文件,上传到服务器根目录内容为location /wp/{index index.html index.php;if (-f $request_filename/index.html) {rewrite (.*) $1/index.html break;}if (-f $requ...
系统版本:WeCenter 3.2.2 根目录 system文件夹functions.inc.php 找到443换为80即可(function base_url()函数内)
登陆后台,设置——常规 内 将“WordPress地址(URL)”和“站点地址(URL)”设置成HTTPS的网址。找到Wordpress网站根目录的配置文件wp-config.php,在里面找到下面这段代码/* 好了!请不要再继续编辑。请保存本文件。使用愉快! *//** WordPress目录的绝对路径。 */if ( !defined('ABSPATH'...
页面外部链接<a class="example-class" id="example-a-id" style="text-decoration: none; font-weight: bold;" title="这是一个 HTML 链接示例" href="http://***/" target="_blank">示例</a>页面外部链接<a...