Forum Replies Created
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
Thank you for your help. But it’s OK because i have add this :
#top.home .av-alb-blogposts span.av-vertical-delimiter { display: none; } #top.home .av-alb-blogposts h2.post-title.entry-title { margin-bottom: 0; padding-bottom: 0; } #top.home .av-alb-blogposts span.post-meta-infos { display: none; } #top.home .av-alb-blogposts .post_delimiter { display: none; }
and this on the page function.php
// Excerpt length function custom_excerpt(){ ?> <script> // trim sentence by 22 words function trimByWord(sentence,wordcount = 22) { var result = sentence; var resultArray = result.split(" "); if(resultArray.length > wordcount){ resultArray = resultArray.slice(0, wordcount); result = resultArray.join(" ") + "..."; } return result; } jQuery(window).load(function(){ jQuery('.post-entry').each(function() { jQuery(".entry-content ").text(function(index, currentText) { return trimByWord(currentText); }); jQuery(".entry-title a").text(function(index, currentText) { return trimByWord(currentText,15); // trim title by 15 words }); }); }); </script> <?php } add_action('wp_head', 'custom_excerpt');
- This reply was modified 5 years, 9 months ago by LMDA07.
This reply has been marked as private.Hello,
Thank you. But i have add the css on quick css but it’s not ok. :(
Hello,
Thank you for you reply.
It’s possible to have a solution ?
It’s possible to have a solution ?
Hello,
Any help please ?
Thank you.
Hello,
Any help please ?
Thank you.
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)