Home > CMS Tutorial > DEDECMS > body text

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

藏色散人
Release: 2019-11-19 10:22:38
Original
1825 people have browsed it

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!