Skip to:
Content
Pages
Categories
Search
Top
Bottom

Themeing best practice now?

  • @posh-john

    Participant

    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)
  • @shanebp

    Moderator

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

    re over-riding templates in your theme:
    https://buddypress.org/support/topic/child-theme-structure-for-editing-plugin-files/

    @hnla

    Participant

    @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.

    @posh-john

    Participant

    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.

    @intervik

    Participant

    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)

    @intervik

    Participant

    ops dubbled subitted

    @modemlooper

    Moderator

    read this to understand templates

    Template Hierarchy

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Themeing best practice now?’ is closed to new replies.
Skip to toolbar