Category Archives: Code Snippets

Coding snippets to add new functionalitity.

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:

  • « Previous
  • 1
  • 2