Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Create group directory for different group types

@hnla

Participant

This is the guide you need to read up on:

Template Hierarchy

has_directory means that if you click on a BP generated link /groups/type/foo/ or type that as a url/create a link to, then you will see that as the url and the loop will now show only groups of type ‘foo’

Template hierarchy will allow you to create a file named in this manner:
index-directory-type-foo.php (file must be a complete one though including WP headers/footers and all parts in-between.)

This will only be used if looking at those group types in the loop/url but you can now edit that and change as you require and only affect that group type loop directory display.

Skip to toolbar