Skip to:
Content
Pages
Categories
Search
Top
Bottom

Themeing best practice now?

  • Avatar of Posh John
    Posh John
    Participant

    @posh-john

    I am new to BuddyPress so i would like some clarification please.
    Usually i try to avoid modifying template files except where absolutely necessary, but after having read that BP-Lageacy will not exist in future versions, i am not sure what best-practice will be…

    Should i put the entire contents of BP-Legacy into a folder named buddypress in my theme?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of shanebpdev
    shanebp
    Participant

    @shanebp

    It’s the BP-Default theme that won’t exist.

    re over-riding templates in your theme:

    http://buddypress.org/support/topic/child-theme-structure-for-editing-plugin-files/

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @posh-john shanebp’s link above will explain the basic approach, however we do provide documentation that covers this sort of area and many others too; please make sure you have given those a good read as they will answer many points you may have, issues beyond what is covered in the documentation are then suitable for asking on the help forum.

    Usually i try to avoid modifying template files except where absolutely necessary It is never absolutely necessary unless you are taking over support for that code. One of the most important aspects of the WordPress Theme api is it’s template hierarchy, it’s this that allows ‘Child themes’ to be created, all correctly written themes will be able to work with child themes if the parent theme doesn’t allow child themeing it’s a good indication that you should drop it like a hot cake and find another.

    Avatar of Posh John
    Posh John
    Participant

    @posh-john

    Hi,

    Thank you both for your replies. It seems that i was indeed confusing BP-Default and BP-Legacy, so sorry about that.

    I am developing a child theme for the Genesis framework, so no worries about my theme :-)

    I think what i was trying to get at, was that to make some of the changes i would like, it appears that i have to modify some template files – for instance the search box in groups and members…if i want it to appear in my entry-header i would need to remove it from the template to get it out of entry-content…and then hook it back in to my entry header. I would prefer to do a remove_action to get it out of the template, but it looks like that is not possible…?

    So if BP-Legacy is staying, i assume that i only copy the template files i need to change so that updating is easier…yes?

    Thanks
    John.

    Avatar of Intervik
    Intervik
    Participant

    @intervik

    Is this confirmed: ?

    So if BP-Legacy is staying, i assume that i only copy the template files i need to change so that updating is easier…yes?

    I have exactly the same question after installing 1.9. (im building new themes, no childs, but not since BP v 1.5 – 1.6.x)

    Avatar of Intervik
    Intervik
    Participant

    @intervik

    ops dubbled subitted

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

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

You must be logged in to reply to this topic.