Home >CMS Tutorial >DEDECMS >What is the general character limit function of Dreamweaver?

What is the general character limit function of Dreamweaver?

藏色散人
藏色散人Original
2019-12-03 10:06:102202browse

What is the general character limit function of Dreamweaver?

What is the universal word limit function of DEDECMS?

DEDECMS universal word limit function

dedecms When calling the title, you can write titlelen='' to limit the number of words, but our hyperlink needs a complete title. At this time, you can use function='cn_substr(@me ,30)' to solve.

Recommended learning: Dream Weaver cms

Loop body example:

[field:title function='cn_substr(@me,30)'/]

Individual call example:

{dede:field name='title' function='cn_substr(@me,30)'/}

The above is the detailed content of What is the general character limit function of Dreamweaver?. 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