Notifications
Clear all

[Solved] How to increase tags length?

5 Posts
2 Users
1 Likes
589 Views
Posts: 3
Topic starter
(@rakib2020)
Active Member
Joined: 4 years ago

When I post a forum with Tags then It is show 25 Letters.

 

How to increase more?

 

Present show:

If I add tag:

With our new SAMIMI bundles pay less and enjoy more Roshan to Roshan

 

It is shown

https://forum.horje.com/?wpfin=tag&wpfs=With our new SAMIMI bundles

 

I want full tags to add.

Example:

https://forum.horje.com/?wpfin=tag&wpfs=With our new SAMIMI bundles pay less and enjoy more Roshan to Roshan

Please give me solution?

Topic Tags
4 Replies
Robert
Posts: 10499
Admin
(@robert)
Support Team
Joined: 8 years ago

Hi @rakib2020,

I think you are using tags in incorrect way. Tags are not topic titles, they should contain one, two or maximum three words.

Whatever, you can increase the max number of chars in one tag putting this hook code in your active WordPress theme functions.php file:

add_filter('wpforo_tags_length', function($length){return 200;}, 10);

BTW, the 255 is the maximum value. Here is a good instruction how to insert a new code in your website or in the functions.php in case you cannot do that: How to Easily Add Custom Code in WordPress (without Breaking Your Site)

2 Replies
Robert
Admin
(@robert)
Joined: 8 years ago

Support Team
Posts: 10499

BTW, this will work for new tags, the old tags are already cut and cannot be restored.

(@rakib2020)
Joined: 4 years ago

Active Member
Posts: 3

@robert

Excellent Support.

Nice Work !

Thanks

Posts: 3
Topic starter
(@rakib2020)
Active Member
Joined: 4 years ago

But another problem is,

In tag page

In title , full length of tag doesn't show?

 

See: https://mobile.horje.com/offer?wpfin=tag&wpfs=How%20to%20activate%20200%20Afs%201000%20&%20Unlimited%20SMS%2030%20days%20Roshan%20to%20Roshan

 

and See <title>..............</title>

 

Please tell me how to increase