专注web开发10年
花晨月夕
花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
花晨月夕
2022-02-28 08:27:14

发送测试邮件的时候,勾选“调试模式”这样才能看到具体测错误信息,不然光靠SMTP connect() failed我猜不到

花晨月夕
2022-02-23 09:37:45

修改模板文件:

zb_users/theme/newscms/template/sell-list.php

找到34行或者搜索“newscms_getthumb”所在行,后面的两个数字即是缩略图尺寸

另一个模板文件:

zb_users/theme/newscms/template/post-index-sell.php

找到18行,修改方法同上


保存后重建模板缓存

花晨月夕
2022-02-16 09:22:33

主题配置-自定义css

将“最新标签”这一行直接隐藏

body.tag .filter-item:first-child{display:none}

只显示前5个标签(后面的全部隐藏)

body.tag .filter-item:first-child .filter-item-tags > div:nth-child(n+6):not(:last-child){display:none}

花晨月夕
2022-02-16 09:09:07
在网站根目录新建一个php文件 代码如下: [code:php]<?php require 'zb_system/function/c_system_base.php'; foreach ($zbp->GetArticleList('*', array(array('META_NAME','log_Meta','defaultvipview'),array('=','log_CateID',8))) as $post) { $post->Metas->defaultvipview = 3; //0 - 4 分别依次代表这5个选项 $post->Save(); } echo 'ok';[/code] 保存后,浏览器打开后执行 代码中的数字8代表分类ID
花晨月夕
2022-02-15 08:49:21

插件常规配置-关闭缩略图剪切

花晨月夕
2022-01-25 13:50:26
主题配置 - 其它配置 - 自定义css [code:css].article-focusbox{ display:none } .article-focusbox + .container{margin-top:30px}[/code] 如果分类也需要隐藏就用下面代码 [code:css].term-bar{display:none} @media screen and (min-width:700px){ .term-bar + .site-content{margin-top:50px} }[/code]
花晨月夕
2022-01-19 10:38:09
.home-filter--content{background-image:none!important;margin-top:-120px;min-height:180px;}

主题配置 - 其它配置 - 自定义css

花晨月夕
2022-01-19 10:29:25

网站版权中添加代码

<script>$('.entry-content').after($("#cao_widget_pay-2").prop("outerHTML"))</script>

花晨月夕
2022-01-19 10:18:12

主题配置 - 支付配置 - 付费内容专享,分类全部删掉

文章也可以单独配置,不要勾选VIP专属和SVIP专属

花晨月夕
2022-01-13 10:49:20
.footer_btn [title=订阅]{display:none}