This topic has 2 replies, 2 voices, and was last updated 9 years by mongo2006.

  • Author

    Tagged: ,

  • #51280
     mongo2006
    Participant

    Spent an hour searching the forums and have yet to find a way to truncate the text for the Post Grid, anyone know how to hard code this if it’s not an option?

    #51383
     Radu
    Moderator

    Hello,

    Go to wp-content\themes\kleo\page-parts\post-content-masonry.php line 183

    Look for

    COPY CODE
    
    <div class="entry-summary">
       <?php echo kleo_excerpt(); ?>
    </div><!-- .entry-summary -->
    

    Replace with

    COPY CODE
    
    <div class="entry-summary">
       <?php echo kleo_excerpt(30); ?>
    </div><!-- .entry-summary -->
    

    30 will be number of characters to display.

    Cheers

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

    Thank you very much consider this a closed issue

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

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

Log in with your credentials

Forgot your details?