好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

PhpCMS文章内容页添加副标题的方法_phpcms_CMS教程

使用phpcms做网站的站长,有时候,发表文章,常常需要用到副标题,那么如何实现呢?

下面把方法告诉大家

在show.html将标题处修改为:

<div id="content_head">

<!--文章标题-->

<h1>{$title}</h1>

{if $titleintact}<h2><center> ——{$titleintact}</center></h2>{else}{/if}

</div>

自动将[完整标题]字段内容,设为副标题。

显示为:

标题——副标题

查看更多关于PhpCMS文章内容页添加副标题的方法_phpcms_CMS教程的详细内容...

  阅读:77次