Nov 13, 2023 8:45 pm
How do I increase the number of characters shown in the breadcrumb before the text truncates?
It looks like the truncation happens server side, so I'm not able to do css tricks.
thx
1 Reply
Nov 18, 2023 7:44 am
Hi @vanessa
You can use this code snippets in a PHP code snippets of the Code Snippets plugin or in the current active WordPress theme:
function custom_breadcrumb_text_length( $length ){
return 100;
}
add_filter( 'wpforo_breadcrumb_text_length', 'custom_breadcrumb_text_length', 10);
You can change the red marked 100 to any number of characters you want.