Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
I was wondering if there was a way to limit post preview to say 1 line of text instead of the entire post.
Plus. anyway to get the posts when typing to single line (no spacing) instead of double spacing?
Thank you!
Hors ligne
If I understand well your question, you could modify the context template file, say home.php, to display only a certain number of characters:
{{tpl:EntryContent full="1" cut_string="50" remove_html="1"}}
See tpl:EntryContent and Attributes common to every template tag in dotclear's documentation
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).