Web Tools Table Maker3schools TranslateImage CompressorFavicon Icon GeneratorCrop & Resize Image
Apu
Apu October 01, 2022 › #Blogger #Q&A

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>
  1. snippet(string, options): Use the data:post.body or data:post.snippets.long as a string.
  2. There are four options to pass.
  3. length: the maximum length of the snippet (including spaces).
  4. links: to hide an anchors/links in the snippet.
  5. linebreaks: prevent to break a in the snippet.
  6. ellipsis: to append an ellipsis (…) at the end of the snippet. (true / false)
save
listen
AI Answer
1 Answer
Write Your Answer
  1. <b:eval expr='snippet(data:post.snippets.long,{length: 145, links: false, linebreaks: false, ellipsis: true})'/>
    Reply Delete
    Share
loading
back
View All