Category Archives: Snippets

Close down your site for logged-in members only

This code snippet will make most Buddypress pages viewable to members only. The exceptions being the registration and activation pages. And also blog pages are viewable to unregistered users. Unregistered users trying to access members only pages will be redirected to the front page.

Remove Profile Auto-Links

Derived from this forum post: Place: in your theme’s bp-custom.php file. If your theme doesn’t have one yet, then create it. Source:

Show a Geo Map Widget like on

Place the following code anywhere you like. This can be in your (child theme’s) Sidebar.php file or in the Member-Header.php file (found in Members/Single/ in the theme directory) You now have the same widget as on the profile pages on!

  • « Previous
  • 1
  • 2