Post Grid Excerpt Length

  • Resolved
    Posted in: Highend WP Theme  
  • Customer
    jonboone
    October 24, 2015 at 10:40 pm #62038

    So I am using the Post Grid and have a slight problem. I have 3 posts showing at once, but the bottoms of the shapes don’t line up because the excerpt length for each post is different.

    I searched the forum here and found a post with a similar problem. One of the developers recommended the code below:

    function my_new_custom_excerpt_length( $length ) {
    return 10;
    }
    add_filter( ‘excerpt_length’, ‘my_new_custom_excerpt_length’, 999 );

    I put the code into my functions.php file and it technically worked, however my posts were still different lengths. The problem is that this code is telling the grid to use a specific amount of words, not characters. Some words are larger than others, therefore having different spacing than others.

    So, is there a way to write this code, telling the grid to use a specific amount of characters, not words? I also attached a screenshot of my problem.

    Attachments:
    You must be logged in to view attached files.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.