This article mainly introduces the DEDECMS modified article tag to tag plus link to remove the tag word limit, the need for friends can refer to the next
1. Add Link to tag:
PHP Code copy content to clipboard
{dede:tag sort= ' new ' getall= ' 0 '} <a href= ' [field:link/] ' >[field:tag/]</a> {/dede:tag}
You can call the tag corresponding to this article, and it is a link ...
2, remove the system default tag tag Word limit:
First step: Modify the Tag field properties of Tables Dede_tagindex and dede_taglist in the database: varchar (12) modified to varchar (255)
The second step: Modify the source code, find in include/archives.func.php:
if (Isset ($tag [12])
Modified to:
if (Isset ($tag [255])
Find in include/archives.func.php:
if (Isset ($tag [20])
Modified to:
if (Isset ($tag [255])
It's all right!
Dedecms template Download Address: www.php.cn/xiazai/code/dedecms