Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • 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 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @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


    Cassey’s Designs
    Participant

    @casseysdesigns

    [SOLVED]

    Thank you shanebp! Works perfect.


    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


    tsadvanced
    Participant

    @tsadvanced

    Thank you for your solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Child Theme Structure for Editing Plugin Files….’ is closed to new replies.
Skip to toolbar