Buddypress WordPress plugin to remove profile links

If you use the BuddyPress WordPress plugin you might have noticed that some random links are automatically generated for text in your profile fields.

These links help visitors search for the same keywords in other profiles, but there doesn't seem to be a setting to switch this off, or to manage the links so that only useful keywords become links.

2 Feb, 2013

If you use the BuddyPress WordPress plugin you might have noticed that some spurious links are automatically generated for text in your profile fields. These links help visitors search for the same keywords in other profiles, but there doesn’t seem to be a setting to switch this off, or to manage the links so that only useful keywords become links.

As an example, here’s some link text that BuddyPress added to my own profile on one of my websites.

BuddyPress profile screenshot

After a look around BuddyPress itself, and a search on the web, I came across the ‘Custom Profile Filters for BuddyPress’ plugin. As well as allowing you to remove the random links from your profile fields, it also allows your users to put square brackets around words in their profile fields that they would like turned into links. The plugin is in the WordPress repository, although it hasn’t been maintained recently and so could have some compatibility issues. It’s worth trying though.

Screenshot of how to remove random BuddyPress profile links

To use this plugin, simply install it into your site and activate it. However, to customise it to remove links from your profile fields you will need to edit one of the plugin files. The file is called custom-profile-filters-for-buddypress.php and it lives in the plugin folder. Edit the file by using FTP and add a comma-separated list of the fields that you want links removed from.

Snapshot of php code to edit BuddyPress plugin

One of the downsides of using this plugin is that it does remove other formatting that users might have added to their profile fields too. For example, the line-breaks in the example above.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You may also like…

Using WP-POLLS for my WordPress Polls and Surveys

Using WP-POLLS for my WordPress Polls and Surveys

Back in 2010 we started using the WP-POLLS plugin to add polls and surveys to one of our WordPress sites. 9 years on, is this still the best solution? Here’s our 2019 view on using polls and survey plugins in WordPress.

The importance of images in blog posts

The importance of images in blog posts

Website visitors really do respond more to content in posts that contain great images. Learn how to use images in your blog posts, and how to optimise them.

WordPress categories and tags in posts

WordPress categories and tags in posts

WordPress uses Categories and Tags to help group similar content together for easy reference. Make sure you have a strong strategy for using categories and tags to improve your visitor experience and help your SEO.

Share This

Please share if you've liked reading this

Share this post with your friends! It really helps us, and lets us know which content visitors like best - so we can write more like that!