Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Blog in the BP frontpage?


squattingturnip
Participant

@squattingturnip

Looks like this post hasn’t been active for a month or so, but I’ll put this here anyway… I wanted to do the same thing you do, but without loosing the completely widgetized front page, so I wrote a new widget of my own by pretty much just copying the BP Recent Posts widget and modifying one line so that it displays the whole post, instead of just the excerpt.

The line in questions was

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

which I changed to

<div class="item-content"><?php echo $post->post_content ?></div>

If you’d like to use the plugin I made to load that widget, so I didn’t have to modify the core files, you can get it here: http://benspants.com/stuff/full_posts.txt. Just download that and make it .php instead of .txt, and you should be good to go!

Skip to toolbar