Skip to:
Content
Pages
Categories
Search
Top
Bottom

General question for editing BP pages


  • r083r7
    Participant

    @r083r7

    I’m trying to edit BP theme and to figure out which files control what. Would appreciate if someone could go over a couple of basics:

    I’m looking in the folder: plugins/buddypress/bp-templates/bp-legacy/buddypress

    1) What does the /activity folder control?
    2) There’s another instance of activity related file in /members/single/activity.php
    what’s the difference?

    3) What’s the difference between
    plugins/buddypress/bp-templates/bp-legacy/ and
    plugins/buddypress/bp-templates/bp-themes/

    4) Which file controls the header? Where the cover photo and avatar image are displayed towards the top.

    5) I would like to add a custom BP page/tab. I’ve found instructions to add pages through the function.php file (located in my child-theme), is that the best way?

Viewing 1 replies (of 1 total)

  • danbp
    Participant

    @danbp

    1) & 2) /activity controls the site activities, while /members/single/activity/ controls the members activity tab on profile.

    3) plugins/buddypress/bp-templates/bp-legacy/ and plugins/buddypress/bp-templates/bp-themes/

    /bp-legacy/ contains /buddypress/ the current version templates.
    /bp-theme contains /bp-default/, the historical BP theme (since 2007). This theme is relatively frozen and remains just for backcompatibility, in case some vintage coders continue to use it.

    Since BP 1.9, you can use almost any existing WP theme, so far it is respecting wp theming standarts.

    4) each component has a header. The respective files are in bp-legacy/buddypress/
    /members/single/
    /groups/single/
    Here can find a list of functions/filters/hooks related to cover (bp 2.4.3)

    5) impossible to say, as it depends of the instructions ! Can you give a link ?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar