Forum Replies Created
-
AuthorPosts
-
Yes i did it ,problem resolved ;)
Thank you :DI found a solution but I think that it is very dumb, I call the class of each category and I change the style of text
like this
.category-2-technique .av-masonry-entry-title.entry-title
{
color: red !important;
}
this solution is so dumb why?
because when i display the blog the title color still black- This reply was modified 6 years, 3 months ago by DS_Distribution.
Problem resolved ,I downloaded the plguin Maxbuttons
thank you ;)
Best support .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’);Thank you,
I put this code but now the blog does not display the buttons Read more
Link :http://dev.ds-distribution.fr/culturel/
i want to display all button in same lineHello Rikard,
Problem solved for burger menu ,but now i have problem ,i can’t increase the excerpt lenght in the blog
look please at articles blogs :http://dev.ds-distribution.fr/culturel/
yet I have tried many methodsthnaks you very much for reply
-
AuthorPosts