Actvity feed in custom placement
-
Hi
Is it possible to add the Activity Feed in a custom location?
I find the Activity page quite restrictive and would like to add a feed to a custom page via a shortcode.
I can gt the feed to load like this – however it seems to be missing styling and when clicking comment it redirects me.
Is there a better way to do this?
function custom_shortcode_activityfeed() { ob_start(); if ( function_exists( 'bp_has_activities' ) ) { bp_get_template_part( 'activity/activity-loop' ); } $output .= ob_get_clean(); return $output; } add_shortcode( 'custom_activityfeed', 'custom_shortcode_activityfeed' );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.