Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Buddypress Templates - how to customize user page?

(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.

like image 615
jave.web Avatar asked Nov 14 '13 12:11

jave.web


People also ask

How do I edit a BuddyPress activity page?

Go to WordPress Dashboard > Settings > BP Edit Activity. Make the preferred changes to the settings and then click the Save Changes button.

How do I add custom fields to BuddyPress?

Installing the pluginClick the Upload Plugin button. Browse to the download file location, select the bp-xprofile-custom-field-types. zip & install the plugin. To activate the plugin on your website site go to WordPress Dashboard > Plugins and then click the Activate button for BuddyPress Xprofile Custom Field Types.

Does BuddyPress work with any theme?

From BuddyPress version 1.7+ you can use most any WordPress theme. BuddyPress provides base template files to get you up and running without much effort. The Theme Developer docs are to outline how you can develop and enhance the base files to better suit particular needs.


1 Answers

  • 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.

like image 184
Koen de Bakker Avatar answered Sep 30 '22 00:09

Koen de Bakker