Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,559
- How-to & Troubleshooting
- 127,790
- Creating & Extending
- 25,649
- Requests & Feedback
- 9,392
- Third Party Plugins
- 9,716
- Showcase
- 3,317
- Ideas
- 1,332
- Miscellaneous
- 8,844
-
A couple things –
– You need an `if` before `bp_has_profile`, eg `( if ( bp_has_profile( ‘profile_group_id=1,3,4’ ) ) ) :`
– You’ll need to close the ifs and whiles; before the final `}` put `endwhile; endif;`
– You need to actually display some content after bp_the_profile_group();. Look at the xprofile templates (bp-themes/bp-default/profile…) to get a sense of the template tags you’ll use inside of the loop to display content.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS