Home >CMS Tutorial >DEDECMS >How does DEDECMS call the TAG tag in the current document?

How does DEDECMS call the TAG tag in the current document?

藏色散人
藏色散人Original
2019-11-19 10:22:381945browse

How does DEDECMS call the TAG tag in the current document?

DEDECMS How to call the TAG tag in the current document?

DEDECMS calls the TAG tag in the current document, which is beneficial to internal page optimization and improved inclusion.

Adding tag tags to dede article pages is very helpful for optimizing internal pages. The specific method is: :

Open the template file

Find:

<tr><td colspan="2"><b>{dede:field.title/}</b>{dede:field.body/}</td></tr></table>

Add below:

<p><strong>TAG标签:{dede:tag row=&#39;30&#39; sort=&#39;new&#39; getall=&#39;0&#39;} 
<a href=&#39;[field:link/]&#39;>[field:tag /]</a>{/dede:tag}</strong></p>

The above is the detailed content of How does DEDECMS call the TAG tag in the current document?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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