Skip to:
Content
Pages
Categories
Search
Top
Bottom

!Important – No "read more" links on posts in activity

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

  • milenushka
    Participant

    @milenushka


    milenushka
    Participant

    @milenushka

    Example


    milenushka
    Participant

    @milenushka

    Anybody?


    milenushka
    Participant

    @milenushka

    Anybody?

    How do I put the link back into the (..) and add a “read more” text?

    The read more link is rendered or should be rendered and is on a standard install.

    If your posts aren’t appearing with a read more link then likely another filter is affecting things – I too have this issue on a test install but not another, generally I have WP filters in place dealing with read more links and text truncation so in my case one of those is lurking somewhere interfering

    However overriding BP’s default character number below does force those read more links to appear, suggestive that the post text is already truncated and being returned by bp_create_excerpt unchanged thus then not having a read more link as activity excerpt filter is being told that there is no reason to truncate thus no read more link required.

    You can run this filter if you want to (in your functions.php) but it’s not really the solution:

    `
    function new_activity_excerpt_length() {
    return 200;
    }
    add_filter(‘bp_activity_excerpt_length’, ‘new_activity_excerpt_length’);

    I suggest that you hunt through your functions and see if you or your theme has implemented WP filters on post excerpts.

    This is an edited version of the earlier reply – hnla


    milenushka
    Participant

    @milenushka

    Hi @@hnla, thank you for addressing this.
    I did research some more and found that the default buddypress moved the post link “read more” to the time. I guess that was only done to the post excerpts, because if I post a long status- the [read more] link will appear (like in the attached screenshot).

    If I use your code- I change the excerpt length of the updates. I lengthened it and now at least the activity wall looks more uniform.
    But the post excerpts are still pretty short (about 1/3 of the thumbnail height)
    Do you have an idea how to change the post excerpts length? (The first example in the screenshot).

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘!Important – No "read more" links on posts in activity’ is closed to new replies.
Skip to toolbar