Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Child Theme Structure for Editing Plugin Files….

  • Avatar of Cassey's Designs
    Cassey’s Designs
    Participant

    @casseysdesigns

    My Info:
    WordPress 3.7.1
    BuddyPress 1.8.1
    Site Link : http://duffitness.com/coachportal

    My Question:
    I am editing the display of profile information on individual profiles. Some files that I have edited are edit.php and profileloop.php… I have the file structure as plugins > buddypress > bp-templates > bp-legacy > buddypress > members > single > profile > “filename.php”
    How do i insert this into my child theme so that it isn’t overwritten each time I complete an update…

    I did try using the complete structure listed above directly inside my child theme, but this did not produce any results. I am assuming this has to do with the fact that plugins are not in a theme orginally…?

    Thanks so much for your help!!

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

    @shanebp

    In your child theme, create a folder called ‘buddypress’.
    In that folder, use the same dir structure as bp-legacy and put only the files you want to over-ride the files in bp-legacy.

    In your case, the structure would be:
    your-theme/buddypress/members/single/profile/edit.php
    your-theme/buddypress/members/single/profile/profile-loop.php

    Avatar of Cassey's Designs
    Cassey’s Designs
    Participant

    @casseysdesigns

    [SOLVED]

    Thank you shanebp! Works perfect.

    Avatar of Prachisharma
    Prachisharma
    Participant

    @prachisharma

    @shanebp

    I am following your answer for the same but child theme files is not working.

    I made changes in buddypress/bp-groups/bp-groups-widget.php.
    And my child theme file structure is : child-theme-name/buddypress/bp-groups/bp-groups-widget.php.

    Need help.

    Many thanks

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

You must be logged in to reply to this topic.