BuddyDev

Search

[Resolved] Community builder – posting urls not displaying featured image

  • Participant
    Level: Initiated
    Posts: 10
    David Riewe on #36079

    In the sand box demo I can post a URL and it will read the featured image and display that. When I downloaded the free version of the theme I noticed that posting a URL would result in the url being displayed with a “read more”. Click the read more would expand the post and then show the image. Is this a limit of the free version of the theme that the paid version overcomes?

    Thank you

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #36081

    Hi David,
    Thank you for using the theme.

    In the free version, the default behaviour of BuddyPress applies while in pro, we are letting site admins decide if the want to truncate/add read more etc.

    You can disable truncation via code in the free version too

    
    // Disable activity content truncation.
    add_filter( 'bp_activity_maybe_truncate_entry', '__return_false' );
    
    add_filter( 'bp_activity_excerpt_length', function($length) {
    	return 1000;// number of characters to show by default in the activiyt excerpt.
    } );
    

    You can put these in your child theme’s functions.php

    In the pro version, these are available as settings.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    David Riewe on #36086

    Awesome! Thank you very much, that did the trick.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #36090

    You are welcome.

    I am glad it worked.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved