Home › Forums › Jevelin Theme › How can we control where a post text will be cut in the "Last 3 posts" preview m
Home › Forums › Jevelin Theme › How can we control where a post text will be cut in the "Last 3 posts" preview m
Hello. How can we control where a post text will be cut in the “Last 3 posts” preview module? Thanks.
Hi @cchopin,
I hope you are well today and thank you for your question.
Could you please share the page URL from your site where it is displaying so that I can help you?
Best regards,
Shufflehound team
Hello. The URL is https://hamiral.com/accueil/
You scroll dowm up to “Nos dernières actualités”. You will see the 3 last post. I want to limit the high of post to 5 sentences. Thans for your support.
I can see those posts but not sure which element you have used to display them so could you please tell me which element you have used there or share the screenshot of it?
Hello. We used the element “recent posts” (https://jevelin.shufflehound.com/elements/recent-posts/) with the option “date layout”.
There isn’t an option for that element to limit the sentences.
Ok noted. But posts are well cut for a certain lenght of text. Where is this defined in the code? We should be able to adapt the code with proper information from you. Thanks.
It is displayed by the below theme file.
/jevelin/framework-customizations/extensions/shortcodes/shortcodes/blog-posts/views/view.php