What Are the Best Tips for Starting a Record Label?
TAG tags are keywords that you define yourself that are more accurate and specific than classification, and can summarize the main content of the article
TAG tags
- This entry lacks an overview map . Supplementing related content makes the entry more complete and can be upgraded quickly. Come on!
- Chinese name
- TAG tags
- TAG tags
- Your own keywords
- What is the use
- Find your articles more easily and accurately
- Optimize TAG
- Clear labels are set for user convenience
- SEO purpose
- Internal chain optimization
- TAG tags are keywords that you define yourself that are more accurate and specific than classification, and can summarize the main content of the article
- What is a TAG tag?
- Web
- The call of dede tag can be used to improve the inclusion of website articles. The specific calling method is: root directory / templets / default / article_article.htm Add the following tags in the required position:
- <dl> Tag: {dede: tag row = '8' getall = '0'} <a href='[field:link/]'> [field: tag /] </a> {/ dede: tag} </ dl>
- First, modify the tag tag characters to increase the length of keywords.
- Since the default tag character of the dede dream weaving background is only 6, if you lengthen the keywords, it cannot be achieved. So how to achieve more character keywords? To share a method for everyone, it specifically involves modifying the database and source code. It is recommended that you make a backup before modifying.
- Step 1: Enter the spatial database, find the tables in the dede_tagindex and dede_taglist databases, and modify the tag field attributes of the tables dede_tagindex and dede_taglist: varchar (12) to varchar (255)
- ALTER TABLE # @ _ tagindex modify column tag char (255) not null;
- ALTER TABLE # @ _ taglist modify column tag char (255) not null;
- varchar (12) is changed to varchar (255)
- Step 2: Modify the source code and find it in include / archives.func.php: if (isset ($ tag [12])
- Amend to: if (isset ($ tag [255])
- Find in include / archives.func.php: if (isset ($ tag [20]) and modify it to: if (isset ($ tag [255]).
- Second, the basic syntax of the tag.
- {dede: tag sort = 'new' getall = '0'} <a href='[field:link/]'> [field: tag /] </a> {/ dede: tag}
- Third, the tag tag calling method.
- Dede latest tag tag calling method, dede current popular tag tag calling method, dede random tag tag calling method, dede content page tag adding calling method and so on.
- Note: The tag call of dedecms supports the latest, current month, random, and content pages
- <p> dede latest tag <br />
- {dede: tag row = '30 'sort =' new '} [field: highlight /] ([field: result /]) {/ dede: tag} </ p>
- <p> dede popular tag of the month <br />
- {dede: tag row = '30 'sort =' month '} [field: tagname /] ([field: result /]) {/ dede: tag} </ p>
- <p> dede random tag tags <br />
- {dede: tag row = '60 'sort =' rand '} [field: highlight /] ([field: result /]) {/ dede: tag} </ p>
- <p> dede content page tag added <br />
- {dede: tag type = 'current' /}