今天安装了Discuz! X3.4,虽然说要尊重版权,但是标题中的- Powered by Discuz!,有点冗长,建议保留底部的版权便可,今天阿权站长告诉如何去掉:Discuz! X3.4标题中的Powered by Discuz!首页的-,以及底部的版权信息。
去掉:Discuz! X3.4标题中的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>
换成:<title><!--{if !empty($navtitle)}-->$navtitle <!--{/if}--><!--{if empty($nobbname)}-->- $_G['setting']['bbname']<!--{/if}--></title>
完成任务!
去掉:Discuz! X3.4 底部的版权信息
同样,找到路径:\template\default\common\ 文件:footer.htm
将:<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p>
<p class="xs0">© 2001-2017 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p>
换成:<p>Powered by <strong>Discuz!</strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p>
<p class="xs0">© 2001-2018 Comsenz Inc. </p>
也就是去掉链接,但文字还显示,毕竟尊重版权嘛!
本文地址:http://www.seozz.net/zzseo/731.html
本文标题: Discuz! X3.4如何去掉标题中的Powered by Discuz!以及-