Support » Plugin: BP Profile Search » Delete is:

  • Resolved DamnDramaQueen

    (@damndramaqueen)


    Hi Search,

    I want to delete/hide this word IS: (I prefer to delete it than to hide it)

    This “is:” is the one when the result comes in. i.e. Age is: , Gender is: , Body is: etc, etc “is:”

    I looked into the bps-admin.js and bps-templates47.php

    When I take out this “is:” , my site went haywire/errors?!!!

    It’s there’s a way to take out the “is:” without haywire/errors?

    Please advise help,
    Thanks,

    • This topic was modified 9 months, 1 week ago by DamnDramaQueen. Reason: rephase
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi DamnDramaQueen,

    Try adding this code to your bp-custom.php file:

    add_filter ('bps_print_filter', 'delete_filter', 10, 2);
    function delete_filter ($filter, $f)
    {
    	return str_replace ('is: ', ': ', $filter);
    }
    Thread Starter DamnDramaQueen

    (@damndramaqueen)

    Hi Search,

    Gone Gone and Gone πŸ™‚ This is crazy good! Your magic works like a charm!

    It looks more cleared and it saved extra spaces within.

    Thank you so much again for your big help! You Rock Big Time πŸ™‚

    Plugin Author Andrea Tarantini

    (@dontdream)

    You’re welcome, and thank you for your kind words!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete is:’ is closed to new replies.