Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Removing member links & best practice to do so?

  • @nate22

    Participant

    On the members profiles, I figured out how to add custom fields but every item ends up being a link.

    So, I found out how to delete the links here (unless this is old and outdated):
    https://buddypress.org/support/topic/resolved-removing-links-to-searches-in-profile-fields/

    But, I am wondering what the best practice is for modifying Buddypress. I don’t want to lose any modifications I make when I upgrade to the latest Buddypress. It seems that the above method will get lost if I upgrade.

Viewing 7 replies - 1 through 7 (of 7 total)
  • @shanebp

    Moderator

    If you put the code in bp-custom.php and put that file in …/plugins/ then it won’t be touched when you update BP.

    @nate22

    Participant

    Thanks, if that is the best way to do it, that’s what I will do.

    I am guessing this article is outdated and should not be followed at all: http://premium.wpmudev.org/blog/make-your-wordpress-site-buddypress-ready/

    …right?

    @shanebp

    Moderator

    bp-custom.php and a child theme are 2 different things.

    Most code that goes in bp-custom.php could instead go into your child-theme/functions.php

    @bphelp

    Participant

    @nate22
    shanebp already supplied you with what to do but if you would prefer you can try this plugin solution I created and it still works on the latest versions of wp/bp:
    https://github.com/bphelp/bp-remove-profile-links/archive/master.zip

    @nate22

    Participant

    Thank you, shanebp. And thank you, bp-help, for the plugin option.

    I was going to mark this “solved” but I don’t see that option.

    @nate22

    Participant

    I just wanted to thank you again for that plugin! Simplest solution and works perfect! Why not submit it to the WordPress plugin archive?

    @bphelp

    Participant

    @nate22
    As small a plugin as this is I really don’t want to go through the hassle of putting it on the WP repo and giving support for it. But anyone else that would want to volunteer can submit it to the WP repo if they have the time for supporting it as well. Glad it helped you out though. Good luck!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Removing member links & best practice to do so?’ is closed to new replies.
Skip to toolbar