Skip to:
Content
Pages
Categories
Search
Top
Bottom

Limit update exceprt


  • LaurieDugdale
    Participant

    @lauriedugdale

    Hi,

    I was wondering if anyone can tell me if there’s a number I can edit in a file somewhere that will limit the characters shown for the status update in the member-header and member loop pages.

    Thanks!

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    Try this in your theme/functions.php

    function laurie_excerpt_length( $length ) {
    
      $length = 125; // adjust the length to desired number of characters 
    
      return $length;
    }
    add_filter( 'bp_excerpt_length', 'laurie_excerpt_length', 11, 1 );
Viewing 1 replies (of 1 total)
  • The topic ‘Limit update exceprt’ is closed to new replies.
Skip to toolbar