在新闻的详情页,调用当前栏目的seo标题,原标签是:{dede:field.seotitle /}

{dede:type}
[field:seotitle/]
{/dede:type}

修改 \include\taglib\type.lib.php 第42行,加入seotitle,

$row = $dsql->GetOne("SELECT id,typename,seotitle,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

 

其它标签类似,找到这些代码,加入seotitle,

 

在文章详情页调用seo标题标签

 

相关文章:

  • 2021-12-31
  • 2021-12-21
  • 2022-12-23
  • 2022-01-17
  • 2018-10-09
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案