Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

Script [Closed] Adjust text truncation value in breadcrumb

2 Posts
2 Users
0 Reactions
1,306 Views
Posts: 103
Topic starter
(@vanessa)
Estimable Member
Joined: 2 years ago

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
Posts: 991
Moderator
(@martin)
Support Team
Joined: 9 years ago

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.