Buddypress Templates - how to customize user page?

jave.web picture jave.web · Nov 14, 2013 · Viewed 11.3k times · Source

(in WordPress)I am wondering where to edit the BP templates - should I edit the core template files(in wp-content/plugins/buddypress) or is there a way to somehow make your own BuddyPress theme ?

Thanks.

Answer

Koen de Bakker picture Koen de Bakker · Nov 25, 2013
  • Start by adding a Child Theme if you haven't done so already.

  • Read the Template Hierarchy link like slaFFik suggested.

  • Add a directory 'buddypress' to your child theme.

  • Copy the core template files you want to edit from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/(XXX/YYY/)zzz.php into themes/yourchildtheme/buddypress/(XXX/YYY/)zzz.php

If you edit the core files directly your changes could be lost when you update BP.