Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove labels from xprofile edit

  • @navinachettri

    Participant

    I have implimented placeholders for profile edit and want to remove the labels. I know it can be achieved through css but that would still involve database queries which I want to avoid. How can I achieve this via changes in bp-templates or hooks

Viewing 2 replies - 1 through 2 (of 2 total)
  • @slaffik

    Moderator

    I checked the code – it won’t decrease number of queries. All the data for labels are taken from a global variable, which is set when all fields are populated. So you won’t decrease server load by removing labels.

    So you can do that via CSS. There is no other simple solution for that (I’m assuming you are on a BuddyPress 2.4.x). Editing template file won’t help you because of the way the code is structured.

    @navinachettri

    Participant

    Thnaks @slaffik

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove labels from xprofile edit’ is closed to new replies.
Skip to toolbar