Skip to:
Content
Pages
Categories
Search
Top
Bottom
Codex HomeDeveloper Resources → Navigation API

Navigation API

Published on July 8th, 2016 by Boone Gorges

BuddyPress’s Navigation API (BP 2.6+) provides an interface for developers to modify BP’s nav menus in group and user contexts. Examples Changing the position of the user’s Notifications nav item Changing the name of the Unread subnav item of the user’s Notifications nav menu Listing all navigation items belonging to the current group Change item […]

Group Types

Published on June 15th, 2016 by r-a-y

BuddyPress 2.6 introduced the concept of group types. This functionality is outlined below. Registering group types BuddyPress itself does not register any group types. Plugins and themes can register group types using the bp_groups_register_group_type() function: The first parameter of bp_groups_register_group_type() is a string identifier for the group type, used internally by BP as the canonical […]

BuddyPress Cover Images

Published on October 9th, 2015 by imath

Note: This guide is for use with BuddyPress 2.4+. The Cover Images feature uses the BP Theme Compat API to maximize its compatibility with most WordPress themes. It allows members of your community, and groups administrators to upload an image to prettify their headers. Themes using the BP Theme Compat API   This is the […]

Groups → Invitations

Published on July 15th, 2015 by @mercime

This page shows a list of Groups where you have been invited to by a friend who is a member of the group. You have the option to accept or reject the invitation. ⇒ Next: Groups → Create ⇐ Previous: Groups → Memberships ⇐ Back to Member Guide

Groups → Memberships

Published on July 15th, 2015 by @mercime

This page shows the list of Groups which you have joined. ⇒ Next: Groups → Invitations ⇐ Previous: Friends → Requests ⇐ Back to Member Guide

Add custom filters to loops and enjoy them within your plugin

Published on December 3rd, 2013 by imath

BuddyPress uses loops to display the content of its components. In this article you will focus on how to “rearrange” the content displayed in four of its major components : Members, Groups, Blogs and finally Activity. You will achieve this thanks to the type or action argument of the init functions of each of these […]

How to Add Members to a Group via WP Users Screen

Published on November 11th, 2013 by danbp

Where we are: users page in the admin screen What we want to do: add one or n members to a group What we want to get: an Add to BP Group menu in the Bulk Actions menu box What we need: a group ID, one or more users. Don’t forget to check the members […]

Group Meta Queries: Usage Example

Published on November 4th, 2013 by imath

Since version 1.8, it is possible to filter groups by Metadata. For instance you can add a meta_query parameter to the bp_has_groups() function. To make this possible, BuddyPress uses a built-in WordPress class : WP_Meta_Query (you will find a link to its WordPress codex page at the bottom of this article). This feature can help […]

BP_Group_Member_Query

Published on July 18th, 2013 by Rami Yushuvaev

Documentation for the BP_Group_Member_Query class, introduced in BuddyPress 1.8, will live here.

Group Extension API

Published on July 16th, 2013 by Boone Gorges

Note: This guide is for use with BuddyPress 1.8+. A guide for using the Group Extension API with earlier versions of BP can be found at https://codex.buddypress.org/developer/plugin-development/group-extension-api-prior-to-bp-1-8/. The group extension API makes it very easy to add custom creation steps, edit screens, navigation items and pages to a group. It essentially allows you to create […]

Skip to toolbar