How to call the TAG tag on DEDE list pages and article pages?
This section mainly introduces how to call TAG tags and add your own styles on DEDE list pages and article pages. The sample code is as follows. Friends in need can refer to it
Recommended learning: 梦Weavercms
[field:id function=GetTags(@me)/] Tags can be called out
But without a connection Yes, if you need to connect, please comment line 130 of include\helpers\archive.helper.php file
// $tags .= ($tags=='' ? $row['tag'] : ','.$row['tag']);
Replace with the following statement, of course you can also add your own style
$tags .= "<ahref='/tags.php?/".urlencode($row['tag'])."/'>".$row['tag']."</a>";
Article page
Tag: {dede:tag row='8' getall='0'}[field:tag /]{/ dede:tag}
The above is the detailed content of How to call TAG tag on DEDE list page and article page. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor