


How to limit the number of words when dedecms obtains description information
dedecms How to limit the number of words when obtaining description information?
Since the web page has a lot of description information, it will be very long when it is retrieved, and the style displayed on the page is not good-looking, so I want to limit the number of words output. The specific implementation of the call tag is as follows. Interested Dear webmaster friends, you can refer to the following
recommended learning: 梦Weavercms
For me, I just started to get the description Information, but some words are simply too much, and the display style is not good-looking, so I want to limit the number of words, so let me tell you the syntax to limit the number of words to obtain description information
The code is as follows:
[field:description function='cn_substr(@me,34)'/]
The above is the detailed content of How to limit the number of words when dedecms obtains description information. 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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
