Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to Exclude Admin ID for Has Blogs and Has Members?


blgdra
Participant

@blogadera

Here’s a sample of what we are trying to do :

<?php if ( bp_has_blogs(‘exclude=1’) ) : ?>

Tried this an some other things to exclude all blogs by admin user id but with no luck. This may come in handy for any one trying to exclude admin subdomains where the admin’s “blogs” shouldn’t be included with the member blogs.

Anyone can think of how to do this?

We only have a simple page template calling user avatars of members with blogs http://www.blogadera.com/bloggers/ but can anyone can create an exclude admin blogs plugin to remove these from other parts of the bp install? that may be handy too.

Skip to toolbar