Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Customise BuddyPress in TwentyTwelve Child Theme


  • jessogden
    Participant

    @jessogden

    Hi all – apologies in advance if I’ve missed something simple. I’m new to BuddyPress but not to WP and have just installed the latest version of BuddyPress 2.1 in WP 4.0. I’m using a custom child theme based on Twenty Twelve.

    I’m attempting to do some very basic customisations of the layouts of member and group directories in BuddyPress (by adding some custom fields to the displays) – and using the various codex documentation I have created a new directory in my child theme: twenty-twelve-child/buddypress which contains both the ‘members’ and ‘groups’ directories copied from bp-templates/bp-legacy/. I’ve customised the members-loop.php to add in new fields but it seems to me this is not the file being used to generate the output of the members directory of the group (e.g. http://mysite.com/groups/group-name/members)?

    I have read the detailed template hierarchy documentation but I don’t think my files are overloading and I’m probably not editing the right ones to modify the members directory of the group. Should I be copying over/modifying files from a different directory other than the bp-legacy ones?

    Hope that makes sense and many thanks in advance. I’m happy to provide more information as needed!

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

  • shanebp
    Moderator

    @shanebp

    Thank you for your well-formed question.

    Try your changes in this file in your overloads:
    buddypress\groups\single\members.php

    May not need pointing out, but remember that the directory/folder structure you see in /bp-legacy/ must be replicated faithfully in the theme or child theme where/bp-legacy/ is replaced with either /buddypress/ or /community/ sitting in the top level of the theme root. so if a file lives in a particular folder under bp-legacy it must live in same folder under your theme structure.


    jessogden
    Participant

    @jessogden

    Thanks both – the directory was setup correctly, I was just in the wrong place (as suspected). Editing the buddypress\groups\single\members.php did the trick. Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Customise BuddyPress in TwentyTwelve Child Theme’ is closed to new replies.
Skip to toolbar