Changeset 9955 for trunk/src/bp-groups/bp-groups-widgets.php
- Timestamp:
- 06/20/2015 01:23:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-widgets.php
r9819 r9955 73 73 $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); 74 74 75 /** 76 * Filters the separator of the group widget links. 77 * 78 * @since BuddyPress (2.4.0) 79 * 80 * @param string $separator Separator string. Default '|'. 81 */ 82 $separator = apply_filters( 'bp_groups_widget_separator', '|' ); 83 75 84 echo $before_widget; 76 85 … … 90 99 <?php if ( bp_has_groups( $group_args ) ) : ?> 91 100 <div class="item-options" id="groups-list-options"> 92 <a href="<?php bp_groups_directory_permalink(); ?>" id="newest-groups"<?php if ( $instance['group_default'] == 'newest' ) : ?> class="selected"<?php endif; ?>><?php _e("Newest", 'buddypress') ?></a> | 93 <a href="<?php bp_groups_directory_permalink(); ?>" id="recently-active-groups"<?php if ( $instance['group_default'] == 'active' ) : ?> class="selected"<?php endif; ?>><?php _e("Active", 'buddypress') ?></a> | 101 <a href="<?php bp_groups_directory_permalink(); ?>" id="newest-groups"<?php if ( $instance['group_default'] == 'newest' ) : ?> class="selected"<?php endif; ?>><?php _e("Newest", 'buddypress') ?></a> 102 <span class="bp-separator" role="separator"><?php echo esc_html( $separator ); ?></span> 103 <a href="<?php bp_groups_directory_permalink(); ?>" id="recently-active-groups"<?php if ( $instance['group_default'] == 'active' ) : ?> class="selected"<?php endif; ?>><?php _e("Active", 'buddypress') ?></a> 104 <span class="bp-separator" role="separator"><?php echo esc_html( $separator ); ?></span> 94 105 <a href="<?php bp_groups_directory_permalink(); ?>" id="popular-groups" <?php if ( $instance['group_default'] == 'popular' ) : ?> class="selected"<?php endif; ?>><?php _e("Popular", 'buddypress') ?></a> 95 106 </div>
Note: See TracChangeset
for help on using the changeset viewer.