This topic is: resolved
- This topic has 15 replies, 3 voices, and was last updated 8 years, 7 months ago by .
You cannot reply to this support topic. Please open your own support topic.
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Thank you Steven, it works!
Of course I will review it, your support is gorgeous!
@ Marco
No problems! And, thanks for taking the time to leave a review!
Hello Steven,
I came across the problem that the client wants to hide “Contact“ in the Bio Entry Card. With the Say What plugin changing “Contact” to ” ” (space) it works pretty fine, but the seperator still is diplayed.
I tried adding
add_filter( 'cn_output_default_atts_date', 'cn_remove_label_separator' );
but it didn’t work, of course there is another term to change it.
Could you help me?
@ Marco
The filter would be this:
add_filter( 'cn_output_default_atts_contact_name', 'cn_remove_label_separator' );
function cn_remove_label_separator( $atts ) {
$atts['label'] = '';
$atts['separator'] = '';
return $atts;
}
With this, you will not need to use Say What? to remove the Contact
label.
Hope that helps!
Hello Steve,
I’ve tried the filter but when I activate it my website breaks completely (with white sites).
I couldn’t figure out the problem. Do you have any idea?
@ Marco
If you have two snippets that contain the same function name cn_remove_label_separator
, that would cause the error. Also if something was missed copy/pasting the snippet would cause it. I’d check both.
You cannot reply to this support topic. Please open your own support topic.