Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

  • @jcfromkc

    Participant

    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 7 replies - 1 through 7 (of 7 total)
  • @jcfromkc

    Participant

    Bump.

    Anyone?

    @jcfromkc

    Participant

    @transmission I seen that you had the same issue in the past. Where you able to figure this out?

    @jcfromkc

    Participant

    Still working on it.

    @jcfromkc

    Participant

    I still need help with this. ????

    @jcfromkc

    Participant

    After 6 months of searching I finally got it!!!!

    Plugins > BuddyPress > BP-Core > BP-Core-Template.php

    Line 875

    'ending' => __( ' […]', 'buddypress' ),

    Change […] to whatever you like, and then create a new blog post. The new blog post will include the updated text you just entered. Hells yeah!

    @jcfromkc

    Participant

    […] is the same thing as typing […]

    @jcfromkc

    Participant

    Now I’m looking for a way to turn my new [Read More] text into a hyperlink.

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