Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to show contents of recent post on the home page

  • I just install bp from trunk . everything seems fine. But i don’t know How to show contents of “recent post” on the home page. Currently only the title of the post been showed.

    any ideas? Thanks.

Viewing 1 replies (of 1 total)
  • Hi sfinder,

    I was just looking into this myself and came up with a quick hack.

    Go to:

    bp-blogs-widgets.php

    line: 50

    Change:

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

    To:

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

    This will will show the full post with images, but will not limit the amount of text. You might want to create a function similar to bp_create_excerpt() if you want to limit the amount of text.

    Hope this helps.

    P.S. I’m new to buddypress and wpmu, so this solution may not be perfect.

Viewing 1 replies (of 1 total)

The topic ‘How to show contents of recent post on the home page’ is closed to new replies.