花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
2022-04-10 08:40:12
主题配置 - 其它配置 - 自定义css
.post-list .entry-media,.entry-header .entry-meta,.entry-footer{display:none}
2022-03-10 09:57:02
这种分类文章数量统计不正确多数都是其它插件造成的问题,也可以说是zblog的问题,可以在主题配置-其它配置中更新分类文章数量
如果要隐藏你说的,就看下面的操作
主题配置 - 其它配置 - 自定义style
.product_sift .sift_li li:not(:first-child) .count{display:none}
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-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]
主题配置 - 其它配置 - 自定义css