BuddyPress

How to Add Hashtag Links In BuddyPress Community and BuddyBoss Websites

Add clickable hashtag links to BuddyPress and BuddyBoss: what each platform supports today, a free code snippet, the BuddyPress Hashtags add-on, and the mistakes people report.

·11 min read
Clickable hashtags such as #welcome and #events in a BuddyPress or BuddyBoss activity update

BuddyPress does not turn #hashtags into links on its own; a #word in an activity update stays plain text. To add hashtag links you either install a hashtag add-on (our BuddyPress Hashtags plugin also works on BuddyBoss Platform and in bbPress forums) or add a short code snippet that links each #word to an activity search. BuddyBoss Platform has no hashtags either: it offers admin-defined Activity Topics instead.

Below we compare what each platform does today, show both routes step by step, and list the problems people run into. Everything was checked on 21 November 2026 against the BuddyPress 14.5.6 source, the BuddyBoss Platform repository and the vendors’ own pages. We make BuddyPress Hashtags, so we say plainly where it fits and where it does not.

Does BuddyPress support hashtags out of the box?

No. We searched the BuddyPress 14.5.6 source and there is no hashtag feature. BuddyPress links @mentions to member profiles and notifies the person mentioned, but a #topic is stored and shown as ordinary text. Activity items are not WordPress posts, so they cannot use WordPress tags or categories either, a point a BuddyPress volunteer made in a 2023 support thread when someone asked how to categorise social posts.

What core does give you is a search. The activity directory accepts an activity_search parameter in the URL, and BP Nouveau puts it in the search box and filters the stream. That is enough to build simple hashtag links, as the code route below shows.

Does BuddyBoss support hashtags?

Not as hashtags. BuddyBoss Platform (the free plugin, open source on GitHub, release 3.8.0 on 17 November 2026) includes the hashtag icon in its icon font but no hashtag linking. What it has instead is Activity Topics: in the activity settings an admin switches topics on, creates up to 20 topics, and can require members to pick a topic before posting. Group organisers can also set group topics.

Topics and hashtags solve different problems. Topics are a short, controlled list that keeps the feed tidy. Hashtags are open-ended: members invent them as they write, which is great for events, campaigns and inside jokes, and messy if nobody curates them. Many communities want both.

How do hashtags compare across community platforms?

What each option does for hashtags, from the vendors’ own feature pages and source code on 21 November 2026.

Platform or plugin

Hashtag links

How you get them

Notes

BuddyPress (core)

No

Add-on or code

@mentions only; search by URL is built in

BuddyBoss Platform

No (Activity Topics instead)

Add-on for hashtags

Up to 20 admin-defined topics, optional “topic required”

BuddyPress Hashtags (our add-on)

Yes

Paid add-on, $49/yr or $149 lifetime for one site

BuddyPress, BuddyBoss, bbPress, posts and pages; follow hashtags; analytics

Youzify

Yes, in its premium version

Youzify premium

Youzify is a full BuddyPress profile and feed add-on, not a hashtag plugin

HashBuddy

Yes (old)

Free on WordPress.org

Last updated 28 December 2014; we would not install it today

PeepSo

Yes

Included in PeepSo Free

Hashtags and saved posts listed as free features

BuddyNext

Yes

Built in

Hashtags with 24-hour trending pages; not a BuddyPress add-on

FluentCommunity

Yes

Built in

Listed among features on its pricing page

So if you are on BuddyPress or BuddyBoss today, you need an add-on or code. If you are still choosing a platform and hashtags matter, PeepSo, FluentCommunity and our own BuddyNext include them. Our BuddyPress vs BuddyBoss comparison covers the wider choice.

How do you add hashtag links with a plugin?

BuddyPress Hashtags is the add-on our team maintains for this job. Its product page showed version 3.8.1, updated November 2026, when we checked on 21 November 2026. What it does, in short:

  • Turns #words into links in BuddyPress activity updates, bbPress topics and replies (when bbPress is active), and WordPress posts and pages. Each link opens a page of every item that used the tag.
  • Suggests existing hashtags as members type # in the activity form, the same way @mentions work.
  • Lets members follow hashtags from their profile and read a feed of only those posts.
  • Adds five tag-cloud widgets and two shortcodes for showing trending hashtags.
  • Gives admins a management tab to search and bulk-delete hashtags, and an analytics tab with CSV export.
  • Supports non-Latin hashtags (Arabic, Chinese, Japanese, Korean, Hindi and more) through an International Language Support setting.
  • On BuddyBoss Platform, it hooks into BuddyBoss activity search and adds followed-hashtag filter options.

Setup is short: install and activate, open the plugin’s settings in wp-admin, choose where hashtags should work (activity, forums, posts, pages), switch on autocomplete if you want it, and place a tag-cloud widget or shortcode where members will see it. Hashtags are indexed from activation onward.

Where it does not fit: it is a paid add-on, so it is more than a hobby site may need; and like all our BuddyPress add-ons it is maintained for current BuddyPress, BuddyBoss and WordPress releases rather than gaining big new features. If you only need clickable tags that open a search, the free code route below is enough.

How do you add hashtag links without a plugin?

If you only want each #word in an activity update to link to a search of the activity stream, this snippet does it. It runs on the activity content after BuddyPress has filtered it, skips anything inside HTML tags or existing links (so URLs with #anchors are safe), and supports letters and numbers in any script. Add it to a small plugin or your child theme’s functions.php.

<?php
/**
 * Turn #words in BuddyPress activity updates into links to an activity search.
 *
 * Text inside existing links and inside HTML tags is left alone.
 */
function bpcd_link_activity_hashtags( $content ) {
	if ( '' === $content || false === strpos( $content, '#' ) ) {
		return $content;
	}

	$base    = bp_get_activity_directory_permalink();
	$parts   = preg_split( '/(<[^>]*>)/', $content, -1, PREG_SPLIT_DELIM_CAPTURE );
	$in_link = false;

	foreach ( $parts as $i => $part ) {
		if ( '' === $part ) {
			continue;
		}

		// HTML tag: track whether we are inside an existing link, then skip it.
		if ( '<' === $part[0] ) {
			if ( preg_match( '/^<a[\s>]/i', $part ) ) {
				$in_link = true;
			} elseif ( preg_match( '/^<\/a>/i', $part ) ) {
				$in_link = false;
			}
			continue;
		}

		if ( $in_link ) {
			continue;
		}

		$parts[ $i ] = preg_replace_callback(
			'/(^|[\s(])#([\p{L}\p{N}_]{2,50})(?![\p{L}\p{N}_])/u',
			function ( $m ) use ( $base ) {
				$url = add_query_arg( 'activity_search', rawurlencode( '#' . $m[2] ), $base );

				return $m[1] . sprintf(
					'<a class="bp-hashtag" href="%1$s">#%2$s</a>',
					esc_url( $url ),
					esc_html( $m[2] )
				);
			},
			$part
		);
	}

	return implode( '', $parts );
}
add_filter( 'bp_get_activity_content_body', 'bpcd_link_activity_hashtags', 20 );

How it works: each #tag becomes a link to /activity/?activity_search=%23tag. BP Nouveau reads activity_search from the URL, fills the search box and loads matching activity, and BuddyPress searches activity content for the text, including the #.

Checked on 21 November 2026 against the BuddyPress 14.5.6 source (BP Nouveau). The PHP passes php -l, and we ran the function against sample text to confirm it links #buddypress and #日本語 but leaves links such as https://example.com/#anchor alone.

Limits you should know before relying on it:

  • It is a text search, so #event also finds posts containing #events. There is no hashtag index, count, follow feature or tag cloud.
  • It covers activity updates only, not activity comments, bbPress forums or blog posts. Each would need its own filter.
  • Anything shaped like a hashtag gets linked, including colour codes such as #fff if members type them. The two-character minimum keeps single #1-style numbers out, but you may want a stop list.
  • It depends on BP Nouveau. BP Legacy and BuddyBoss handle the search parameter differently.

For more filters like this one, see our BuddyPress hooks cheat sheet.

The ten-minute version

If you just want to see hashtags working today on a BuddyPress site with BP Nouveau:

  1. Make a backup or use a staging copy.
  2. Create a file wp-content/plugins/bp-hashtag-links/bp-hashtag-links.php with a standard plugin header and paste the snippet above under it.
  3. Activate “BP Hashtag Links” in Plugins.
  4. Post an activity update containing #welcome, then click the link. The activity directory should open with #welcome in the search box and matching posts below.
  5. Run through the test list above before telling members.

If members take to it, move to an add-on for autocomplete, following and tag clouds, and remove the snippet at the same time so the two do not both link the same words. If they ignore it, you have lost ten minutes, not a licence fee.

Plugin or code: which should you choose?

Need

Code snippet

BuddyPress Hashtags

Clickable #tags in activity updates

Yes

Yes

Hashtags in comments, forums, posts and pages

No (more code)

Yes

Autocomplete while typing

No

Yes

Follow a hashtag, trending cloud, analytics

No

Yes

Works on BuddyBoss Platform

No

Yes

Cost

Free, you maintain it

$49/yr or $149 lifetime (one site)

Our rule of thumb: try the snippet first if you just want links. If members start using hashtags a lot, or you want them in forums and posts too, move to the add-on, which indexes tags properly instead of searching text.

How are hashtags different from @mentions in BuddyPress?

They look similar in a post, but they do different jobs. An @mention points at a person: BuddyPress links it to that member’s profile, adds the post to their Mentions tab and sends a notification. A hashtag points at a subject: it links to every post about that subject and notifies nobody, unless an add-on lets members follow the tag.

That difference matters when you plan your community. Mentions pull a specific person into a conversation; hashtags let anyone find the conversation later. Most active communities need both, and members already know both from other social networks, so they rarely need explaining. The one thing worth telling members is which hashtags you, as the host, will actually use and watch.

How do you get members to actually use hashtags?

Links alone do not create a habit. What works on the communities we run:

  • Seed a few. Pin a welcome post that uses three or four hashtags you want to grow, such as #introductions, #wins and #questions.
  • Show them. A trending-tags widget in the activity sidebar does more than any rules page.
  • Use them for recurring things. Weekly threads (#mondaymotivation, #showandtell) give people a reason to click a tag every week.
  • Curate. Merge or delete misspelt and one-off tags every month so the cloud stays useful.
  • Set the default view. If the stream opens on “Everything”, tagged updates drown in profile changes. Our guide to changing the BuddyPress activity stream default fixes that.

Hashtags pair well with sharing. If members share tagged posts outside the community, our guide to adding social share buttons in BuddyPress covers that side.

Hashtags, topics or groups: which should you use?

They overlap, so pick on purpose:

Tool

Best for

Who controls it

Hashtags

Open, fast-changing themes: events, campaigns, trends

Members create them; admins curate

Activity Topics (BuddyBoss)

A short, fixed list that keeps the feed organised

Admins only

Groups

Ongoing communities inside the community, with their own members and privacy

Group admins

Forum categories (bbPress or a forum plugin)

Questions and answers that people will search later

Admins

A common pattern on larger sites: groups for membership, forum categories for support, and hashtags across everything so a member can follow one theme wherever it is discussed.

What about hashtags in bbPress forums?

bbPress already has something close: topic tags. They are switched on by default (Settings > Forums > Topic tags in bbPress 2.6.22), members add them in a field when they start a topic, and each tag gets its own archive page listing every topic with that tag. What topic tags do not do is turn a #word typed inside the post into a link.

For most forums, topic tags are enough, and they are better for search because they are a real WordPress taxonomy. Inline hashtags make sense when your members already think in hashtags because they use them in the activity stream, and you want one habit across the feed and the forum. That is the case BuddyPress Hashtags covers by linking hashtags in topics and replies when bbPress is active. If you are weighing bbPress against newer forum plugins, our forum roundup on this site compares the options.

Do hashtag links leak private group posts?

Not through BuddyPress search. Activity posted in private and hidden groups is stored as “hidden sitewide”, and the activity directory does not show hidden items, so a hashtag search from the directory only returns posts the visitor is allowed to see. Inside a group, BuddyPress shows hidden items only to members of that group and to site moderators. We checked this in the BuddyPress 14.5.6 template code, which sets show_hidden from group membership.

Two things to check on your own site anyway: any custom activity query you have added, and any add-on that builds its own hashtag pages. Log in as a member who is not in a private group, open a hashtag that group uses, and confirm none of its posts appear.

How do you keep hashtags clean?

Open hashtags attract the same problems as open posting: spam tags, offensive tags and dozens of misspellings of the same word. A light routine keeps them useful:

  • Review the list monthly. Sort by count, delete one-off and misspelt tags, and note the ones worth promoting.
  • Block bad words in tags too. BuddyPress Hashtags works with our BuddyPress Profanity add-on: hashtags that match its keyword list are shown as plain text instead of links, and members cannot follow them.
  • Publish a short tag guide. Three to five “official” hashtags in your community guidelines give members a pattern to copy.
  • Watch for tag spam. Posts stuffed with ten unrelated hashtags are a common spam pattern; flag them in your moderation queue like any other spam.

What should you test before launching hashtags?

  1. Post an update with two hashtags and a link that contains #. Only the hashtags should become links.
  2. Click a hashtag as a logged-out visitor and as a member. The results should match, minus anything private.
  3. Post a hashtag in a private group and confirm a non-member cannot find it.
  4. Try a non-Latin hashtag if your members write in another script.
  5. Check the hashtag page or search on a phone at 390 pixels wide.
  6. If you use bbPress, post a topic reply with a hashtag and confirm what happens is what you expect.

Common mistakes people report

From the BuddyPress support forums and the WordPress.org plugin directory, read on 21 November 2026 and paraphrased. Hashtags have been a recurring request for more than a decade, so some threads are old, but the same problems keep coming back.

  • Expecting BuddyPress to do it. Owners regularly ask where the hashtag setting is, as in this 2018 thread that ended with a request for any free plugin. There is no core setting; you need an add-on or code.
  • Installing an abandoned plugin. HashBuddy was still being suggested in a 2021 thread, but its WordPress.org page shows it was last updated on 28 December 2014. Old plugins like this are untested with current BuddyPress URLs and PHP versions.
  • Forgetting comments. In an older thread, a site owner rejected one plugin because it ignored hashtags in comments, and another because tag links opened a blank page. Test both comments and the tag page before you launch.
  • Treating activity like posts. Activity items are not a WordPress post type, so tag and category plugins built for posts do not apply to them, as explained in the 2023 thread mentioned above.
  • Confusing BuddyBoss topics with hashtags. Activity Topics are admin-defined and capped at 20; members cannot create new ones by typing. If members expect Twitter-style hashtags on BuddyBoss, you still need a hashtag add-on.

FAQ

Can I add hashtags to BuddyPress for free?

Yes, with the snippet above, which links each #word to an activity search. For an index, autocomplete, following and tag clouds, you need an add-on.

Do hashtags work in BuddyPress activity comments?

Not with the snippet above, which only filters activity updates. BuddyPress Hashtags covers activity, bbPress topics and replies, and WordPress posts, pages and their comments; check its documentation for activity comments specifically before you rely on them.

Does BuddyPress Hashtags work with BuddyBoss?

Yes. Its product page lists BuddyBoss Platform support, including BuddyBoss activity search and followed-hashtag filters.

Will hashtag links hurt SEO?

No. Hashtag links point to search or tag pages inside your community. If those pages are public, keep them out of your sitemap and let your SEO plugin handle indexing rules for search-style URLs.

Will the code snippet slow down my site?

Very little. It runs a regular expression over each activity update as it is displayed, and it returns early when an update has no # in it. The search behind each link is the standard BuddyPress activity search, which is a text match; on very large sites a proper hashtag index, like the one an add-on keeps, is faster for popular tags.

What happens to hashtags in posts written before I add this?

With the snippet, old updates get links too, because the links are added when a post is displayed, not when it is saved. With BuddyPress Hashtags, the product page says hashtags are indexed from the day you activate the plugin, so older posts will not appear in its tag pages, counts or clouds unless they are edited or re-indexed. Plan your launch around that: seed a few fresh tagged posts on day one.

Can members follow a hashtag?

Not in core BuddyPress or with the snippet. BuddyPress Hashtags, PeepSo and BuddyNext offer hashtag following or trending views in different forms.

Want hashtags built into a custom flow?

If you need hashtags tied to something specific, such as a moderation list, tag-based notifications or a custom feed, our team builds that for BuddyPress and BuddyBoss sites. Tell us what you need through the contact page.

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com