花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
nice主题tag页面的H1标签怎么修改可以只显示标签,不要带网站名?
2023-12-18 11:49:26
修改文件 zb_users/theme/Nice/template/index.php 第7行为:
[code:php]{if $type == 'tag'}{$category->Name = $tag->Name}{else}{$category->Name = $title}{/if}[/code]
然后zblog后台首页,重新编译模板
2023-12-18 11:39:11
@小刀不刀[code:css].share,.post_like{display:none}[/code]
2023-12-16 12:48:38
隐藏分享
[code:css].tag_share .share{display:none}[/code]
2023-12-16 12:46:25
主题配置-其他配置-自定义style填写下面的css代码
[code:css].link_list,.footer{display:none}[/code]
2023-12-04 21:36:59
[img]https://kfuu.cn/zb_users/upload/2023/12/20231204213658170169701861756.png[/img]
2023-12-04 11:03:19
在网站根目录新建一个php文件,放入下面代码,浏览器打开后开始执行替换
[code:php]<?php
require 'zb_system/function/c_system_base.php';
foreach($zbp->GetArticleList('*', array(array('META_NAME', 'log_Meta', 'file')), array('log_ID' => 'DESC')) as $post){
$post->Metas->file = str_replace('原内容', '新内容', $post->Metas->file);
$post->Save();
}
echo 'ok';[/code]
2023-12-03 15:17:28
主题配置-其它配置-自定义style 填写下面的css代码
[code:css].wc-tabs + div + div,#tab-title-reviews{display:none}[/code]