Skip to:
Content
Pages
Categories
Search
Top
Bottom

Exclude main blog from Recent Networkwide Posts widget

  • Avatar of sladkoe6ka
    sladkoe6ka
    Participant

    @sladkoe6ka

    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 ) ) )

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude main blog from Recent Networkwide Posts widget’ is closed to new replies.