@sladkoe6ka
12 years, 6 months ago
Can anyone help me to exclude main blog post from Recent Networkwide Posts widget? In my case all posts on main blog are published by one user. But changing ‘user_id’ => 0 to ‘user_id’ != 1 did not help.(My php skills are very limited)
( bp_has_activities( array( ‘action’ => ‘new_blog_post’, ‘max’ => $instance, ‘per_page’ => $instance, ‘user_id’ => 0, ‘scope’ => false, ‘object’ => false, ‘primary_id’ => false ) ) )
@sofianjanom
Have you tried this plugin? https://wordpress.org/extend/plugins/diamond-multisite-widgets
Thanks Sofian J. Anom! The plugin is very close to what I need