BuddyDev

Search

more words for read more

  • Participant
    Level: Initiated
    Posts: 11
    johan on #27519

    how to extend ‘read more’ to not only show few words?

    also to directly display video (youtube etc) without having to click ‘read more’

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #27524

    Hi Johan,
    This is a BuddyPress feature.

    You can disable it by putting this code

    
    add_filter( 'bp_activity_maybe_truncate_entry', '__return_false' );
    
    

    There is also a way to set the length. I will add it as an option in next minor release.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    johan on #27528

    set the length will be good, also to show video/ images directly, just like fb

    hope you can set the default words count to be fb standard, because that’s like how people r used to

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #27533

    Hi Johan,
    Thank you for the suggestion.

    In case of BuddyPress, There is a filter to limit the length but it is by number of characters and not the words.

    I have added this option in the Community Builder Pro(Customize->BuddyPress->Activity). It will be available with next release(Friday/Saturday).

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved