phpcms栏目列表页标题标签在哪?标题是项目名称-seo标题,前面自动加上的项目名称-如何去掉

WBOY
Release: 2016-06-13 12:38:35
Original
1092 people have browsed it

phpcms栏目列表页标题标签在哪?标题是项目名称-seo标题,前面自动加上的项目名称-怎么去掉?
栏目页显示的是站点标题,加栏目标题。你看看header.html 最上面的title找到
{$SEO['site_title']}这个是站点标题,应该就是你说的栏目名称吧这个去掉就OK

{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}
比如我这个就是栏目名+网站名,去掉后就是栏目名
当然你也可以从php文件里修改,不过不建议
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!