Skip to:

buddypress doesn’t use my files child

  • simonmnt



    I want to customize my buddypress. I copy all document inside bp-legacy directly in my child theme.
    When I modify a file, the modifiction doesn’t appear. I don’t understand..

    Conversely, when i modify my buddypress-functions it works..


Viewing 1 replies (of 1 total)

  • danbp


    Hi @simonmnt,

    you should create a correct child-theme to get BP templates customization to work.

    First, you need to declare the child via /your-child/style.css with the correct header information.
    Eg. for a twenty fourteen child

    Theme Name: Fourteen-Child
    Description: My child theme for Twenty Fourteen
    Version: 1.0
    Author: simon
    Template: twentyfourteen
    @import url("../twentyfourteen/style.css");

    Once done, you can select this child as site theme.

    Now you can add a /buddypress/ folder to /your-child/

    Inside this folder, you copy any file you need to modify from /bp-legacy/buddypress/

    You copy only the file(not the whole /bp-legacy/buddypress/ folder) you want to change, by respecting eventually the original path. Eg

    If you need custom functions for the theme, you add a file called functions.php inside /your-child/functions.php

    If you need custom functions for BuddyPress (like most of the snippets you can find on this forum), you add them to wp-content/plugins/bp-custom.php

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar