Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
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?
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS