Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Avia_sc_blog modification #1070119

    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.
    in reply to: Avia_sc_blog modification #1069695
    This reply has been marked as private.
    in reply to: Avia_sc_blog modification #1069602

    Hello,

    Thank you. But i have add the css on quick css but it’s not ok. :(

    in reply to: Avia_sc_blog modification #1069589

    Hello,

    Thank you for you reply.

    in reply to: Animated Number #1069431

    It’s possible to have a solution ?

    in reply to: Avia_sc_blog modification #1069428

    It’s possible to have a solution ?

    in reply to: Avia_sc_blog modification #1069107

    Hello,

    Any help please ?

    Thank you.

    in reply to: Animated Number #1069106

    Hello,

    Any help please ?

    Thank you.

Viewing 8 posts - 1 through 8 (of 8 total)