PhpCMS文章内容页添加副标题的方法
下面脚本之家把方法告诉大家 在show.html将标题处修改为: {$title} {if $titleintact} &md
下面脚本之家把方法告诉大家
在show.html将标题处修改为:
<div id="content_head">
<!--文章标题-->
<h1>{$title}</h1>
{if $titleintact}<h2><center> ——{$titleintact}</center></h2>{else}{/if}
</div>
自动将“完整标题”字段内容,设为副标题。
显示为:
标题——副标题
在show.html将标题处修改为:
<div id="content_head">
<!--文章标题-->
<h1>{$title}</h1>
{if $titleintact}<h2><center> ——{$titleintact}</center></h2>{else}{/if}
</div>
自动将“完整标题”字段内容,设为副标题。
显示为:
标题——副标题
特别声明:以上内容(如有图片或视频亦包括在内)为本平台用户上传并发布,本平台仅提供信息存储服务。举报




