SHOW:
|
|
- or go back to the newest paste.
| 1 | <div id="menuCAT"> | |
| 2 | <ul> | |
| 3 | <li> | |
| 4 | <div class="menuPART"> | |
| 5 | <div class="menuCATicon"> | |
| 6 | <img id="logo" src="<?php bloginfo('stylesheet_directory'); ?>/images/MENUquoi.jpg" />
| |
| 7 | </div> | |
| 8 | <div class="menuCATname"> | |
| 9 | QUOI ? | |
| 10 | </div> | |
| 11 | </div> | |
| 12 | ||
| 13 | <ul> | |
| 14 | ||
| 15 | - | <?php if ( bp_has_groups('user_id=false') ) : ?>
|
| 15 | + | <?php if ( bp_has_groups( 'user_id=' . $user_id ) ) : ?> |
| 16 | <?php while ( bp_groups() ) : bp_the_group(); ?> | |
| 17 | ||
| 18 | <li> | |
| 19 | ||
| 20 | ||
| 21 | <?php bp_group_name() ?> | |
| 22 | ||
| 23 | </li> | |
| 24 | <?php endwhile; ?> | |
| 25 | <?php endif; ?> | |
| 26 | ||
| 27 | </ul> |