data:post.snippet all details
data:post.snippet is used to display a short description of a blog post or page.
Syntax :
<div> <b:eval expr='snippet(data:post.snippets.long, {length:300, links: false, linebreaks: false})'/> </div>
- snippet(string, options): Use the data:post.body or data:post.snippets.long as a string.
- There are four options to pass.
- length: the maximum length of the snippet (including spaces).
- links: to hide an anchors/links in the snippet.
- linebreaks: prevent to break a in the snippet.
- ellipsis: to append an ellipsis (…) at the end of the snippet. (true / false)
save
listen
AI Answer
data:post.snippet all details
1
data:post.snippet is used to display a short description of a blog post or page. Syntax …
asked
Apu
1 answers
2915
data:post.snippet is used to display a short description of a blog post or page. Syntax …
Answer Link
answered
Apu