Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove or replace […] from blog post excerpts on the Activity Stream


  • jcfromkc
    Participant

    @jcfromkc

    I’m looking for a way to remove or replace […] at the end of blog post excerpts on the Activity Stream. I’ve found a way to replace […] on the blog page by using the following code.

    function new_excerpt_more( $more ) {
    return ”;
    }
    add_filter(‘excerpt_more’, ‘new_excerpt_more’);

    excerpt_more is a WordPress filter. It helps with the blog page, but not the BuddyPress Activity Stream.

    I found another filter, bp_get_activity_content_body but so far I haven’t been able to make the filter do what I want it to do.

    Can someone please point me in the right direction? What BuddyPress filter can I use to remove or replace […] on the Activity Stream?

    Thx!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar