Support » Plugin: BP Profile Status » Hide empty status

  • Resolved blue4

    (@blue4)


    Hi,

    I’m using the latest version of the plugin, but it still shows the text

    No current status is set yet.

    I can see that in the code there is filter bpps_no_current_status_display but how can I use it?

    The above text does not have any specific class (eg. no-status) that I can hide with css.

    Please tell me how can I hide that message if there is no status.
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sanket Parmar

    (@sanketparmar)

    Hey @blue4,

    Sorry for the delayed response. 🙂

    If you only want to hide the text No current status is set yet. ( Not link Add New Status ), then you can paste below code in your theme’s functions.php file:

    function bpps_hide_no_status_text( $no_status ) {
    	return false;
    }
    
    add_filter( 'bpps_no_current_status_display', 'bpps_hide_no_status_text' );
    

    If you want to hide both No current status is set yet. + Add New Status link, then you can paste below code in your theme’s style.css file:

    #bpps-current-status {
    	display: none;
    }
    

    Let us know if this works for you.

    Thank you very much, appreciate your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide empty status’ is closed to new replies.