WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Hierarchy
Reorder position of tabs on groups page (4 posts)

  1. codegene
    Member
    Posted 2 years ago #

    After installing the buddypress groups hiearchy plugin, there are three tabs on the main groups page i.e All groups,my groups and groups tree.
    I want to reorder the postion of these tabs in the following order:
    Groups tree, my groups, all groups. How can i do so?

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

  2. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    If you want all three tabs, you'll have to edit your theme's groups/index.php file and move the line that says do_action( 'bp_groups_directory_group_filter' ); above the other two list items.

    If you're uncomfortable editing PHP files, and willing to live without the "All Groups" tab, you can check the "Hide the list of flat groups..." box in Group Hierarchy preferences.

  3. codegene
    Member
    Posted 2 years ago #

    THANKS VERY MUCH. Editing MY theme's groups/index.php file and moving the line that said do_action( 'bp_groups_directory_group_filter' ); above the other two list items worked.

  4. codegene
    Member
    Posted 2 years ago #

    I did as you said and the postion of tabs changed in the following order - group tree , all groups and then my groups. However when someone visits mywebsite.com/groups , all groups is displayed instead of groups tree.
    So how can i make groups tree to appear when someone visits mywebsite.com/groups

    This is my code structure http://codepad.org/HeJf3Fdi

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic