Home > Article > CMS Tutorial > What does the Empire CMS profile label look like?
Empire CMS introduction tag is used to display the summary of the specified column content, syntax: !--empirecms_..., attributes include column ID (typeid), number of abstracts (limit), title length (titlelength), content length (infolength), list type (listtype), maximum title length (maxtitlelength), maximum content length (maxinfolength), arrangement (order), cache time (cachetime).
Empire CMS Introduction Tag
Empire CMS Introduction Tag is used to insert content specified in the Empire CMS system into the page Summary information for the module.
Syntax:
<code class="php">[!--empirecms_...] [/--]</code>
Attributes:
0
is the title plus content summary, 1
is the title list). 0
is sorted by release time, 1
is sorted by click rate). Example:
To display the titles and content summaries of the latest 5 news items in the news column, you can use the following tags:
<code class="php">[!--empirecms_typeid=1,limit=5,listtype=0--] [/--]</code>
To display a list of the top 10 most clicked headlines in the Entertainment section, use the following tag:
<code class="php">[!--empirecms_typeid=2,limit=10,order=1,listtype=1--] [/--]</code>
The above is the detailed content of What does the Empire CMS profile label look like?. For more information, please follow other related articles on the PHP Chinese website!