Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/21/2016 10:53:11 PM (10 years ago)
Author:
r-a-y
Message:

Groups: Introduce group type functionality on the Groups Directory page.

If a group type of foo is registered with the has_directory parameter,
you can view a group directory for foo at:
example.com/groups/type/foo/

See #7210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/groups-loop.php

    r11008 r11145  
    1919 */
    2020do_action( 'bp_before_groups_loop' ); ?>
     21
     22<?php if ( bp_get_current_group_directory_type() ) : ?>
     23        <p class="current-group-type"><?php bp_current_group_directory_type_message() ?></p>
     24<?php endif; ?>
    2125
    2226<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.