Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Recent Sitewide Posts


Brajesh Singh
Participant

@sbrajesh

hi

Have a look at buddypress/bp-blogs/bp-blogs-widgets.php,you will see the code for recent sitewide posts there.

and here is what you need to do.

on line 44-46 you will see something like this

<?php if ( !$counter ) : ?>
<div class="item-content"><?php echo bp_create_excerpt($post->post_content) ?></div>
<?php endif; ?>

Change this to

`<div class=”item-content”><?php echo bp_create_excerpt($post->post_content) ?></div>’

Hopefully,It will help.

Another way,copy the widget code,modify it and create your own widget to preserve in future updates.

regards

Brajesh

Skip to toolbar