Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove "read the rest of this entry"


  • firewire
    Participant

    @firewire

    Hi guys,

    i like the activity stream. But sometimes, if somebody posts a long text or a picture I always have the Link “read the rest of this entry” below the activity. Is there a possibility to remove this link and get always the whole entry?

    Thank you!
    greets flo 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

  • Giacomo
    Participant

    @gcmo

    You can edit the functions.php file of your theme to change the length of the excerpt.
    Make sure to backup functions.php before doing anything. And do the changes in a test server first.

    This is the code I just tested on twentytwelve and it does the job (can be refined though).

    Just copy paste the code below into functions.php and change 9999 with the excerpt length you prefer

    function firewire_longer_excerpts( $excerpt_length ) {
        $excerpt_length = 9999;
        return $excerpt_length;
    }
    add_filter( 'bp_activity_excerpt_length', 'firewire_longer_excerpts' );

    firewire
    Participant

    @firewire

    Thank you very much, it works perfectly…
    Hmm, you are very smart, so can I ask you another question?

    Do you know, how I can get a “Tags” textfield for my buddypress activation stream? So people can use Tags for theirs posts.
    Like this tags textfield here in the buddypress support forum.

    (Sorry for my English 😉 )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove "read the rest of this entry"’ is closed to new replies.
Skip to toolbar