Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to Exclude a Group From the Groups Loop

I’m still trying to get this working, an array seems the best way, like you said, but I have no idea on how to code it properly. The documentation for php always seems to go over my head.

This is what I have so far.

`<?php
$special = array(“General”, “Community”);
if ( bp_get_group_name() == $special ) ?>
/*special group*/

/*none special group*/
`

But thats not working. Any ideas?

Skip to toolbar