Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying template files in child theme


  • rgrober
    Participant

    @rgrober

    I’m specifically trying to modify members-loop.php, but I want to make sure I’m copying the file structure correctly into my child theme before asking any specific questions.

    To modify members-loop.php, do I need to copy this file structure to my child theme folder?
    buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    Or does this need to be accomplished in a different manner?

    Thank you!

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

  • danbp
    Participant

    @danbp

    You copy the original file from:
    buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    to the child to get this
    your-child/buddypress/members/mmebers-loop.php

    Reference

    Theme Compatibility & Template Files


    rgrober
    Participant

    @rgrober

    Thank you very much for the quick response!


    peter-hamilton
    Participant

    @peter-hamilton

    danbp, always helpful.

    I would suggest to copy the entire template folder to your child, this allows easy access in the future.

    Make sure to make notes, every update of buddypress can/will require a new template folder to be created due to new template tags.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modifying template files in child theme’ is closed to new replies.
Skip to toolbar