Custom Front Pages for your users profiles

We’ve heard users profiles were a bit jealous about Groups custom front pages. So in BuddyPress 2.6.0, we’ve decided to give you a way to customize the home page of your members profiles directly from your theme using a specific template: the front.php template.

An example using the WordPress "Biographical Info" field

An example using the WordPress “Biographical Info” field

Simply put this template into a buddypress/members/single sub directory of your theme and “voilà”!

We also included a specific template hierarchy so that users can have different front pages according to their ID, their nicename or their member type! Read this codex page for more infos about it.

If your theme is overriding the buddypress/members/single/home.php template, you’ll need to update it (once 2.6.0 will be released!!) so that it includes the changes we’ve introduced to this template in 2.6.0.

If you are a developer and wish to know if a custom home page is displayed for a user, you can use the new conditional tag bp_is_user_front()

We hope you’ll like this new feature, you can read the full story about it on this ticket 😉

#6769