This topic has 4 replies, 2 voices, and was last updated 8 years by chrisjones87.

  • Author
  • #101648
     chrisjones87
    Participant

    Hey how you all doing 🙂 ?

    i am having some difficulty with this post grid in visual composer. it seems to take up all the description in the grid,

    is their a way i can shorten this or something, looks great im sure the description can be shorten to a maximum words.

     

    please see. attached

     

    Thank you for your kind help and continued support on this forum, really inspiring keep up the great works 🙂

     

     

    Attachments:
    You must be logged in to view attached files.
    #101653
     chrisjones87
    Participant

    hey i found this on another forum would this work ?

    add_filter(‘avf_postgrid_excerpt_length’,’avf_postgrid_excerpt_length_mod’, 10, 1);
    function avf_postgrid_excerpt_length_mod($length)
    {
    $length = 20;
    return $length;
    }

    http://www.kriesi.at/support/topic/excerpt-length-for-custom-excerpt-on-post-grid-post-slider/

    #101712
     sharmstr
    Moderator

    There’s nothing special. Use the standard WP way of control excerpt length.

    COPY CODE
    
    function custom_excerpt_length( $length ) {
        return 20;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #101713
     sharmstr
    Moderator

    Moving this topic because its not a bug.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #101724
     chrisjones87
    Participant

    thank you

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

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?