DOCS

Truncate mod

Truncate mod is used to cut the content from a dynamic tag to a specific number of characters, server side.

Options

  • Max length

Notes

Truncate mod should not be used on dynamic tags that output rich content (HTML) such as Content tag, or a dynamic tag from a WP editor field. As the mod cuts the text after a specific number of characters, it can happen that some HTML tag was open at the start but the closing part was cut. This would cause invalid HTML and break the page layout.

Continue reading