BuddyBoss Home – Web Support Forums Themes Boss. theme Hide empty profile fields

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Question

    #37647
    @rugwarrior

    Hi,
    Is there a way to hide the empty profile fields as I want to offer a lot of options but most will only use a few of them?

    hide empty fields

    Answers

    #37648
    @srivas1

    I would also like to know this!

    #37650
    @angslycke

    I think you’ll have to use som PHP to do this, not just CSS since CSS can’t tell if there’s something filled in in a field. This means that you’ll have to copy the correct template file to your child theme and then edit it.

    Check this page under the section “Update: Only show a field when it’s filled in” for some pointers:

    https://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/

    Good luck!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The question ‘Hide empty profile fields’ is closed to new replies.