Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • blgdra
    Participant

    @blogadera

    Trying to exclude admin user ID from several listings. On our site, admin has many blogs as part of MU cms. we don’t want those to appear in with member blogs.

    Been at it for a while args only allow to include, any trick to exclude user ids

Viewing 1 replies (of 1 total)

  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘How to Exclude Admin ID for Has Blogs and Has Members?’ is closed to new replies.
Skip to toolbar