Skip to:
Content
Pages
Categories
Search
Top
Bottom

members/groups/blogs directory template override

  • Just saw that “a members/groups/blogs directory template override” was added. Do you have a example on what a custom template must contain ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    the custom template needs the hooks you can see inside the plugin-template.php

    You’ve only to make a new copy of that file and name it ‘members-directory.php’ for example, and customize this one so you can use different layouts

    Avatar of Frumph
    Frumph
    Participant

    @frumph

    Is there a list of other templet overrides that can be done?

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Basically, if you add a file called members-directory.php in your blog/home theme it will override the directory with whatever you put in that file. Same for blogs-directory.php and groups-directory.php.

    You will see examples of this on the new BuddyPress site when it launches.

    Avatar of Frumph
    Frumph
    Participant

    @frumph

    Yeah I got the members-directory.php set on my theme, was just wondering if those were the only 3 .. cause that would be k-rad if we could do that for all the members pages =) but again wishful thinking

    I’m just the type that would rather have one theme and css handle everything.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘members/groups/blogs directory template override’ is closed to new replies.