防垃圾评论 myQaptcha 安装及使用 1https://www.wpdaxue.com/myqaptcha.html 效果不错,很好看. 纯绿色插件,不修改数据库、无需中转页面、无需加载任何第三方代码、
Author Archives: Administrator
WordPress 源代码,主题及插件如何安装? 备注: 第5步,第7步特别重要,否则容易失败 1. 把源代码上传到网站根目录并解压 2. 创建后台登陆账户 3. 安装主题 4. 出现FTP验证错误 5. 解决FTP验证错误 1vi wp-config.php 1234if(is_admin()) { add_filter(‘filesystem_method’, create_function(‘$a’, ‘return "direct";’ )); define( ‘FS_CHMOD_DIR’, 0751 ); } 6. 出现无权限错误 1Unable to create directory wp-content/uploads/2023/04. Is its parent directory writable by the server? 7. 解决无权限错误 12chmod -R 777 /home/wwwroot/default/zls/wp-content chmod -R […]
备注:第7步,第9步特别重要,否则容易安装失效 1. lankecms.tar.gz 上传到网站根目录 2. 解压lankecms.tar.gz 3. 数据库上新建一个数据库 lankecms 4. 开始安装 5. 安装成功 6. 但是后台无法登陆 7. 把config.php 复盖 ../MyAccount/Conf/config.php 8. 后台可以正常登陆 9. 开启静态化,(sofi那个网站要这个步骤,但hongsheng-stone.com不要这个步骤,一改就会所有网站打不开.不改就能运行) 打开你服务器配置文件 1vi /usr/local/nginx/conf/vhost/www.hongsheng-stone.com.conf # 在server段location /加载此内容 1234567891011location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } […]
1234567891011121314151617<div> <a href="https://plus.google.com/u/0/101641800527868173429" target="_blank" title="Follow on Google+"><img src="/wp-content/themes/pic/google-plus01.png" onmouseover=’src="/wp-content/themes/pic/google-plus02.png"’ onmouseout=’src="/wp-content/themes/pic/google-plus01.png"’ /></a> <a href="https://www.facebook.com/hongshengstonecom" target="_blank" title="Follow on Facebook"><img src="/wp-content/themes/pic/facebook01.png" onmouseover=’src="/wp-content/themes/pic/facebook02.png"’ onmouseout=’src="/wp-content/themes/pic/facebook01.png"’ /></a> <a href="https://www.twitter.com/hongshengstone" target="_blank" title="Follow on Twitter"><img src="/wp-content/themes/pic/twitter01.png" onmouseover=’src="/wp-content/themes/pic/twitter02.png"’ onmouseout=’src="/wp-content/themes/pic/twitter01.png"’ /></a> <a href="https://www.instagram.com/hongshengstone" target="_blank" title="Follow on Instagram"><img src="/wp-content/themes/pic/instagram01.png" onmouseover=’src="/wp-content/themes/pic/instagram02.png"’ onmouseout=’src="/wp-content/themes/pic/instagram01.png"’ /></a> <a href="https://www.pinterest.com/hongshengstone" target="_blank" title="Follow on Pinterest" ><img src="/wp-content/themes/pic/pinterest01.png" onmouseover=’src="/wp-content/themes/pic/pinterest02.png"’ onmouseout=’src="/wp-content/themes/pic/pinterest01.png"’ /></a> <a href="mailto:info@chinastonetops.com" target="_blank" […]
WordPress插件:后台注册通过短信验证用户手机号 [精品] 1https://www.ludou.org/wordpress-register-check-user-phone-via-sms.html 步骤 1. 为了确保插件能够正常运行,推荐使用PHP 5.6以上的版本,低于这个版本可能导致插件无法使用 php -v //确认已经是5.6版本 2. 阿里云短信服务需要一个阿里云账户,也可以用淘宝账号登陆,没有的可以自己注册一个 3. 登陆阿里云后台 已登陆 4. 在阿里云控制台的 秘钥管理页面,点击 创建Access Key,并且确保处于 启用 状态,获取到 AccessKeyId 与 AccessKeySecret 阿里云登陆 > 控制台 > 找不到秘钥管理 秘钥管理页面:https://usercenter.console.aliyun.com/#/manage/ak 选择 “继续使用AccessKey” > 创建Access Key > 点击获取 > 校验码 > 确定 AccessKey信息保存好 并且确保处于 启用 状态,获取到 AccessKeyId 与 AccessKeySecret 5. 在阿里云 短信签名页面: https://dysms.console.aliyun.com/dysms.htm?accounttraceid=eded120f-feea-4a96-890c-48a6d12d93a9#/ 添加签名 签名类型选择”验证码或短信通知”,签名填你的网站名称 […]
1 Page-Classic Shop 1-1 幻灯片: 1 1 1 1 bg_pos=”57% 49%” 不知道是指什么
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748Css 加粗: <strong>…</strong> //好像是<p></p>里面加<strong>才有效 文字左对齐/右对齐/中间对齐: //好像是里面加pos才有效 <p style="text-align: left;">…</p>[style里面的]<p><div><a>都可以用 文字左对齐/右对齐/中间对齐: text-align: left; 字体颜色: color: #fe6f12; 字体大小: font-size: 31px; 背景颜色: background-color: #fe6f12; 背景颜色(渐变): background-color:rgba(94, 94, 94, 0.43); 四个角倒圆: border-radius:5px 5px 5px 5px; 行高: line-height:20px; border:1px 按纽: <p><a class="button" style="line-height: 50px; height: 50px; font-size: 14px; padding: 0 50px; background-color: #fe6f12;" […]
1. 插件安装 Plugin > add new > upload plugin > 选择文件 > install now > 2. Mega Menu > Menu Locations > main menu :MAIN> 这步已经自动配置好了,不用修改 Mega Menu > Menu Locations > Max Mega Menu Settings > Enable 打勾 > Save 3. Appearance > Menu > 勾选 Main Menu (Currently set to:MAIN) 4. Appearance > […]
1. 安装好wordpress 及flatsome 1-1 wordpress解压并移到 /demo 目录下tar -zxvf wordpress mv /home/wwwroot/default/wordpress /home/wwwroot/default/demo/smcgroupca 1-2 新建数据库 demo_smcgroupca 1-3 安装wordpress https://demo.chinastonetops.com/smcgroupca/ if(is_admin()) { add_filter(‘filesystem_method’, create_function(‘$a’, ‘return “direct”;’ )); define( ‘FS_CHMOD_DIR’, 0751 ); } chmod -R 777 /home/wwwroot/default/demo/smcgroupca/wp-content chmod -R 777 /home/wwwroot/default/demo/smcgroupca/wp-content/themes 2. 安装flatsome-3.7.zip主题 2-1 Appearance > themes > add new > upload > flatsome-3.7.zip > active > Let’s […]
7-7-5 隐藏顶部黑条 Users > admin > Edit > Toolbar > Show Toolbar when viewing site > 前面的勾去掉 > Update Profile > 隐藏顶部黑条 7-7-5 改密码 Users > admin > Edit > New Password > Generate password 7-7-6 创建首页内容 Pages > add new > homepage > 内容复制进去 > Template > Full Width – Transparent Header > Publish […]