How To Show Upcoming Birthdays On Your BuddyPress Social Network?
How to show upcoming birthdays on a BuddyPress social network: profile field setup, plugins, custom code, privacy, greetings and performance. Checked Nov 2026.

To show upcoming birthdays on a BuddyPress social network, add a Date Selector field to your members’ profiles, then display it with a birthdays plugin (a widget, shortcode or block) or a small piece of custom code. BuddyPress has no birthday feature of its own, so one of those two routes is always needed. For most sites the plugin route takes about ten minutes. We checked every plugin, version and function below on 15 November 2026 against WordPress.org, the vendor pages and the BuddyPress source.
This page covers the whole job, not just the widget: why birthdays are worth the effort, the profile field setup, four ways to display the list, privacy, notifications, performance on large member counts and the mistakes people report. If BuddyPress itself is not installed yet, start with our beginner setup guide for BuddyPress and come back.
How do you show upcoming birthdays on a BuddyPress site?
- Enable Extended Profiles. Under Settings > BuddyPress > Components, switch on Extended Profiles. Without it there is nowhere to store a birthdate.
- Create a Date Selector field. Under Users > Profile Fields, add a field named Birthday (or similar) and choose the Date Selector type.
- Pick how to display it. Use a plugin (the quickest), or the custom code further down (the most controllable).
- Set privacy before you launch. Decide whether to show ages, set the field’s default visibility and give members a way to opt out.
- Optionally add greetings. An activity post, a notification or an email on the day. Keep these off until the list itself works.
Why show birthdays at all?
Birthdays give members a reason to open the site that is not a notification about something they already know. A widget that says “Priya turns 34 on Friday” is a prompt to send one friendly message, and a single message is how many members make their first connection. It is also one of the cheapest community features to run, because members supply the content and nobody has to moderate a birthday list.
We do not have a conversion figure to quote, and we would be wary of anyone who does. Treat birthdays as a small, low-risk warmth feature that fits communities where people know each other: intranets, clubs, classes, alumni groups, teams and customer communities. It fits badly in anonymous or sensitive communities, where members do not want a date of birth anywhere near their profile. For those, skip it or make it strictly opt-in.
How do you set up the birthday field in BuddyPress?
Create one Date Selector field and set its date range, visibility and requirement carefully, because every display method reads this field. BuddyPress 14.5.4 ships these profile field types: Checkboxes, an acceptance checkbox, Date Selector, Multi-select box, Number, Radio buttons, Drop-down select box, Telephone, Multi-line text, Text box, URL, and two WordPress-linked types for biography and name. For birthdays you want the Date Selector. A plain text box will not work, because the plugins and the code below expect a real date.
- Go to Users > Profile Fields and add a new field to your main group (usually Base), so every new member sees it at registration.
- Name it clearly. Plugins that ask you to pick the field show this name, and our custom code below looks it up by name.
- Choose Date Selector as the type.
- Set the date range. In the BuddyPress source the default range runs from 60 years before the current year to 10 years after it. That cuts off older members and allows birth years in the future, so set an absolute range such as 1920 up to the current year instead.
- Choose the date format members see in the editor. The stored value is always a full date, in the form Y-m-d 00:00:00, whatever format you pick.
- Decide whether the field is required. Required gives you a complete list but forces members to share something personal at sign-up. Optional is kinder and still works. We prefer optional.
- Set the default visibility (more on this in the privacy section), and decide whether members may change it.
One limit worth knowing now: a BuddyPress date field always stores a year. You cannot ask for day and month only. If you want to avoid collecting birth years, the realistic options are to collect them and never show them, or to use a separate text field and live with the fact that the standard birthday plugins will not read it.
Which plugin should you use to show upcoming birthdays?
Pick by how you want the list displayed and what you want to happen on the day. Three maintained plugins cover the common cases, and a fourth route is custom code. Details on each follow, then a decision table.
BuddyPress Birthdays (our plugin)
BuddyPress Birthdays from Wbcom Designs is free with no paid edition. Version 2.5.0 (updated 17 July 2026 per the vendor page) provides:
- A sidebar widget, with several instances allowed and separate settings for each.
- The
[bp_birthdays]shortcode for pages and posts. The WordPress.org listing says it accepts attributes such as limit, show_age and date_format. - A range of no limit, the next 7 days or the next 30 days, and an audience filter: everyone, friends or followings when those components are active.
- An age toggle per widget, a name style, a custom date format, an emoji choice, and optional zodiac symbols and confetti (both off by default; the confetti is skipped for visitors who ask for reduced motion).
- A “Send birthday wishes” envelope link that opens a BuddyPress private message to that member, which needs the Messages component.
- Optional birthday greeting email, activity feed post, member notification and a daily summary email to an admin, all off until you enable them under WB Plugins > Birthdays.
- A “Hide my birthday everywhere on this site” checkbox for members.
Setup: install it, make sure your Date Selector field exists, add the Birthday widget under Appearance > Widgets and choose the field in the widget settings. The WordPress.org listing states that it works with BuddyPress’s date field types, and a reviewer there noted it is not obvious that you must create the date field before the widget has anything to read. Do that first.
Honest downsides:
- Small footprint. The WordPress.org listing shows 300+ active installs and one rating (5 stars). That is too few reviews to judge, so read it as “little evidence either way”.
- Two versions. The WordPress.org copy was at 2.4.2 (30 April 2026) and the vendor page lists 2.5.0. Check which one you are installing.
- No block. It offers a widget and a shortcode, not a Gutenberg block, as far as the vendor page and listing show.
- Needs BuddyPress. It cannot be activated without it.
- Narrow scope. It does one job. We are not planning to turn it into a full celebrations suite.
BP Birthday Greetings
BP Birthday Greetings (version 1.0.7, updated 20 September 2026, tested up to WordPress 7.1.4) sends a birthday greeting notification to members, adds a “BuddyPress Birthdays” widget with a private-message wish option, and a [ps_birthday_list] shortcode. You map your date-of-birth field in the Options tab of the BuddyPress settings screen. It has 200+ active installs and five ratings, all five stars, though the reviews we could see date from 2019 and 2020. Its changelog is short and its support forum is quiet, so expect to solve problems yourself.
Birthday Block for BuddyPress
Birthday Block for BuddyPress (version 1.1.0, February 2026) is the one to look at if you build with the block editor. It adds a Gutenberg block with settings for title, age, wish button, date format, a range of today, 7 days, this month or all upcoming, friends only, name type, a limit of 1 to 50, and an emoji, plus REST API support. It requires the Extended Profiles component and a date-type profile field. It is new and has no installs or ratings on WordPress.org yet, so test it on staging, and note that its listing says tested up to WordPress 6.9.11.
Plugins we would avoid
A search of WordPress.org also returns a mail add-on last updated in 2017 and plugins aimed at WooCommerce customers rather than BuddyPress members. We left those out. A plugin that has not been updated for years should not touch member data on a social site.
Custom code that queries the profile field
Write your own when you want exact markup, a specific audience or to feed the list into a theme template. The function below reads a Date Selector field by name, finds members whose birthday falls in the next few days, hides anyone whose field visibility is not public, sorts by date, and caches the result for a day. It uses these BuddyPress functions, which we confirmed exist in the BuddyPress 14.5.4 source on 15 November 2026: BP_XProfile_Field::get_id_from_name(), xprofile_get_field_visibility_level(), bp_core_get_user_displayname() and bp_members_get_user_url(). It reads the xProfile data table through the table name BuddyPress exposes, buddypress()->profile->table_name_data.
Checked on 15 November 2026. We syntax-checked this code on PHP, but we have not run it on a live site, so test it on staging before you use it.
/**
* Upcoming birthdays from a BuddyPress "Date Selector" profile field.
*
* @param string $field_name Exact name of the profile field, e.g. "Birthday".
* @param int $days How many days ahead to look (today included).
* @param int $limit Maximum members to return.
* @return array[] Each item: user_id, name, url, date (Y-m-d of the next birthday).
*/
function bpc_upcoming_birthdays( $field_name = 'Birthday', $days = 14, $limit = 10 ) {
global $wpdb;
$field_id = BP_XProfile_Field::get_id_from_name( $field_name );
if ( ! $field_id ) {
return array();
}
$today = current_datetime()->setTime( 0, 0 );
$cache_key = 'bpc_bdays_' . $field_id . '_' . $days . '_' . $limit . '_' . $today->format( 'Ymd' );
$cached = get_transient( $cache_key );
if ( false !== $cached ) {
return $cached;
}
// Month-day pairs for the window, so year-end and 29 February need no special case.
$window = array();
for ( $i = 0; $i < $days; $i++ ) {
$day = $today->modify( "+{$i} days" );
$window[ $day->format( 'md' ) ] = $day;
}
$table = buddypress()->profile->table_name_data;
$placeholders = implode( ',', array_fill( 0, count( $window ), '%s' ) );
$rows = $wpdb->get_results(
$wpdb->prepare(
"SELECT user_id, value FROM {$table}
WHERE field_id = %d AND DATE_FORMAT( value, '%%m%%d' ) IN ( {$placeholders} )", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
array_merge( array( $field_id ), array_keys( $window ) )
)
);
$list = array();
foreach ( (array) $rows as $row ) {
// Respect each member's own visibility choice for this field.
if ( 'public' !== xprofile_get_field_visibility_level( $field_id, $row->user_id ) ) {
continue;
}
$md = mysql2date( 'md', $row->value, false );
$list[] = array(
'user_id' => (int) $row->user_id,
'name' => bp_core_get_user_displayname( $row->user_id ),
'url' => bp_members_get_user_url( $row->user_id ),
'date' => $window[ $md ]->format( 'Y-m-d' ),
);
}
usort( $list, static fn( $a, $b ) => strcmp( $a['date'], $b['date'] ) );
$list = array_slice( $list, 0, $limit );
set_transient( $cache_key, $list, DAY_IN_SECONDS );
return $list;
}
Call it from a template or a shortcode callback and print the results with escaping:
$birthdays = bpc_upcoming_birthdays( 'Birthday', 14, 10 );
foreach ( $birthdays as $member ) {
printf(
'<li><a href="%1$s">%2$s</a> %3$s</li>',
esc_url( $member['url'] ),
esc_html( $member['name'] ),
esc_html( wp_date( 'j F', strtotime( $member['date'] ) ) )
);
}Notes on the design. The query matches month and day only, so it never shows a year or an age. The cache means a member who changes their birthday or visibility may see the old result for up to a day, so shorten the lifetime if that matters. Time zone follows the WordPress setting. Putting the logic in a small plugin file, not the theme’s functions.php, keeps it alive when you change themes.
Which option fits which situation?
Situation | Best fit | Why |
|---|---|---|
You want a sidebar list in ten minutes | BuddyPress Birthdays | Widget and shortcode, no code, privacy opt-out built in |
You want greetings by email, activity post or notification | BuddyPress Birthdays | All three exist, off until enabled. BP Birthday Greetings covers notifications only |
You build pages with the block editor | Birthday Block for BuddyPress | A real block with a range, friends filter and REST API. Test it first, it is new |
You only need a simple list plus a notification | BP Birthday Greetings | Small and simple, with a fresh release in September 2026 |
You need exact markup or special rules | Custom code | Full control. You maintain it |
You run a very large network | Custom code, or a plugin with caching, tested at scale | See the performance section |
What users say, and our suggestion
Checked on 15 November 2026 against the WordPress.org plugin API and support forums. All three plugins have few reviews, so these notes are thin by nature.
Plugin | Rating and reviews | Active installs | Last updated | Support threads resolved |
|---|---|---|---|---|
BuddyPress Birthdays (WordPress.org copy) | 5.0 from 1 review | 300+ | 30 April 2026 | No threads |
BP Birthday Greetings | 5.0 from 5 reviews | 200+ | 20 September 2026 | 0 of 1 thread |
Birthday Block for BuddyPress | No reviews | Fewer than 10 | 13 February 2026 | No threads |
What people praise. The reviews we could find say the same things: it worked straight out of the box, it is simple, and members enjoy it. One reviewer of the BP Birthday Greetings plugin said it brought more traffic. All the reviews we could read are from 2019 to 2024, so we have nothing from the last 12 months to quote.
What people complain about. The support forums for these plugins hold a few threads, mostly one to five years old. The same questions repeat: the logged-in member does not see their own birthday in the widget (a 2025 thread), birthdays showing a day early or missing on the day, with time zones raised in the replies (threads from about 2020 and 2022), asking how to show today’s birthdays, asking how to send an email on the day, and the shortcode misbehaving inside Gutenberg columns. Several of these are answered by features that now exist, such as greeting emails and a today highlight, but check the version you install.
Our suggestion. For most BuddyPress sites, start with the widget and shortcode route, and choose BuddyPress Birthdays if you want greetings and the privacy checkbox, or the Birthday Block if your site is built from blocks. We make BuddyPress Birthdays, so weigh that in. Our honest caveat is the small number of reviews on every option here. Test whichever you choose on a staging copy with realistic member data. Choose custom code only if you have a developer who will maintain it.
How should you handle privacy and GDPR for birthdays?
Show the day and month only, keep the year hidden, make the field visibility sensible, and give members a clear way to opt out. A birthdate is personal data and, combined with a name, helps identity thieves, so collect it only if you will really use it. This is general guidance, not legal advice, and the rules depend on where your members live.
- Age or date? Showing “turning 34” tells everyone the birth year. Turn ages off unless your community clearly wants them, and remember BuddyPress Birthdays lets you set this per widget, so two widgets on one site can disagree.
- Field visibility. Every BuddyPress profile field has a visibility level, and you choose the default and whether members may change it. A list that shows names must read only fields members have made public, which is why our custom code skips anyone who is not public. Check how your plugin handles members who set the field to friends only or only me.
- Opt-out. BuddyPress Birthdays adds a “Hide my birthday everywhere on this site” checkbox on the account settings screen that removes the member from the widget, activity feed, notifications and emails. Whatever you use, make sure members can leave the list without deleting the field.
- Export and erase. BuddyPress registers a personal data exporter for profile fields (we confirmed this in the BuddyPress source on 15 November 2026), so the birthdate appears in a standard WordPress export request. Test an export and an erase request on a dummy account.
- Minimise and explain. Say in your privacy policy why you collect birthdates and who sees them.
- Children. If under-age members may join, get proper advice before collecting a birthdate at all.
- Not age verification. A self-entered date proves nothing. A recent BuddyPress forum thread on age checks said the same.
Can BuddyPress send birthday notifications or emails?
Not by itself. BuddyPress provides the notification and email systems, but nothing sends a message on someone’s birthday unless a plugin or your own code does it. Among the options above, BuddyPress Birthdays can post a “Birthday Celebrations” activity entry, send a BuddyPress notification to everyone or just friends, email the member a greeting using an editable BuddyPress email type, and email a daily summary to an admin. All of these ship switched off. BP Birthday Greetings sends a greeting notification to members.
A few rules keep greetings welcome:
- Turn on one channel first, usually the activity post, and watch the reaction before adding email.
- Run greetings from a scheduled daily job, never on page load.
- Make sure your site can actually deliver email (a proper SMTP or email service), or the greeting never arrives.
- Respect the opt-out in every channel, not only the widget.
Will a birthdays list slow down a large BuddyPress site?
It can, if the list is built from scratch on every page view. BuddyPress keeps profile values in one table, and it has indexes on the field and user columns but not on the value itself. A naive approach, loading every member’s birthdate and comparing dates in PHP on every request, grows more expensive with every member. That is fine at a hundred members and a problem at several thousand.
Keep it cheap:
- Cache the result. Compute the list once a day, or every few minutes at most, and serve the cached copy. The WordPress.org listing says BuddyPress Birthdays uses a 30-minute cache and loads its assets only when the widget is active. Our custom code caches for a day.
- Filter in the database. Our code asks MySQL only for rows whose month and day fall in the window, instead of pulling every member.
- Limit the list. Show 5 to 10 names, not hundreds.
- Use an object cache on any busy site, so repeated lookups for names and visibility do not hit the database each time.
- Test with realistic data. Generate a few thousand test users (
wp user generate --count=2000creates the accounts), give them birthdates, and time the page with and without the widget.
Our guides to BuddyPress performance optimization and WordPress community plugins go further on caching and on what else to add around birthdays.
Common mistakes people report
These come from the BuddyPress and plugin support forums, read on 15 November 2026. We paraphrase them, and each link goes to the original thread.
- Installing the widget before creating the date field. A reviewer of our plugin on WordPress.org said it is not obvious that the custom date field must exist first. See the plugin’s review page (May 2024). Create and fill the field first.
- Expecting members to see their own birthday. An intranet owner found members thought the widget was broken because the logged-in member’s own birthday was missing from the list. See the thread (about June 2025). Tell members what to expect, and check how your chosen plugin treats the viewer.
- Time zone off-by-one. A site saw “Happy Birthday” a day early after an update, and another saw today’s date missing. See the early-message thread (2022). Set your WordPress time zone to a named city, not a UTC offset.
- Treating a birthdate as age verification. A site owner wanted to keep minors out, and replies agreed a typed date proves nothing. See the age verification thread (October 2026).
- Putting the shortcode in the wrong block. Another thread reports a birthday list shortcode breaking layout inside Gutenberg columns. See the thread (2021). Use a Shortcode block and test on a phone.
Frequently asked questions
Does BuddyPress have a built-in birthday feature?
No. It stores a date in a profile field but does not list or announce birthdays. You need a plugin or code for that.
Which profile field type should I use for birthdays?
Use the Date Selector type. Text boxes will not give plugins a real date to read.
Can I hide the year or the age?
You can hide the age in the display. BuddyPress always stores a full date including the year, so the year stays in the database even when it is not shown.
Can members hide their own birthday?
Yes, if your plugin or code supports it. BuddyPress Birthdays has a single opt-out checkbox that covers every place the birthday appears. You can also set the profile field’s visibility to a restricted level.
Will the plugin work with BuddyBoss?
The WordPress.org listing for BuddyPress Birthdays says it is compatible with BuddyBoss Platform and theme. Test it on staging before you rely on it.
Is a birthdays list GDPR safe?
It can be, if you collect only what you need, tell members how it is used, show only what they have made public, offer an opt-out and can export and erase the data on request. Get legal advice for your region.
Will it slow my site down?
Not if the list is cached and limited to a handful of names. Test on realistic data first.
Do these options work without BuddyPress?
No. Every option here reads BuddyPress profile fields. If you plan to extend birthdays with your own code, our BuddyPress hooks cheat sheet lists the actions and filters worth knowing.


