当前位置: 首页 > 技术文档, 资源共享 > 正文
avatar

Discuz! X3.2电脑版、手机版默认模板去除标题title中的Powered by Discuz!的方法 […]

QQ图片20160109121709

Discuz! X3.2电脑版、手机版默认模板去除标题title中的Powered by Discuz!的方法!

电脑版:
打开 /template/default/common/header_common.htm 文件
找到

<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> Powered by Discuz!</title>

一般都在顶部,很容易找的.
删除Powered by Discuz!即可

手机版之标准版:
打开 /template/default/mobile/common/header.htm 文件
找到:

<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> {lang waptitle} - Powered by Discuz!</title>

删除Powered by Discuz!即可

手机版之触屏版:
打开 /template/default/touch/common/header.htm 文件
找到:

<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> {lang waptitle} - Powered by Discuz!</title>

删除Powered by Discuz!即可

archiver版:
打开 source/archiver/common/header.php 文件
找到

<title><?php if(!empty($navtitle)): echo $navtitle.' - '; endif; if(empty($nobbname)): echo $_G['setting']['bbname'].' - '; endif;?> Powered by Discuz! Archiver</title>

删除Powered by Discuz!即可

本文固定链接: https://blog.yanhualou.com/jishu/631.html | 烟花楼博客
标签:

discuz 去掉页头Powered by Discuz!:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter