Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Returning only latest forum activity and changing output

Hey, thanx Etiviti. However, I’m not the sharpest knife in the drawer, how should I add it exactly? I’ve replaced bp_has_activities() with bp_activity_feed_item_title() but didn’t get anything. I have this code:

<?php if ( bp_activity_feed_item_title() ) : ?>

<ul id="groups-list" class="item-list">
<?php while ( bp_groups() ) : bp_the_group(); ?>

<li>
<div class="item">
<div class="item-title"><a>"><?php bp_group_name() ?></a></div>
<div class="item-desc"><?php bp_group_description_excerpt() ?></div>

<?php do_action( 'bp_directory_groups_item' ) ?>
</div>

<div class="clear"></div>
</li>
<?php endwhile; ?>

<?php do_action( 'bp_after_groups_loop' ) ?>

<?php else: ?>

<div id="message" class="info">
<p><?php _e( 'There were no groups found.', 'buddypress' ) ?></p>
</div>

<?php endif; ?>

Skip to toolbar