Notifications
Clear all

Is there a filter I can add to change the excerpt length?

3 Posts
2 Users
1 Reactions
986 Views
Posts: 25
Customer
Topic starter
(@flaren)
Member
Joined: 5 years ago

Is there a filter snippet I can add to change the excerpt length? I think it's set a 55 but I want to change it to like 100.

2 Replies
Astghik
Posts: 6197
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @flaren,

The wpForo Blog Cross Posting add-on gets the Excerpt length value as it's set in WordPress. If you change the WordPress Excerpt Length it'll be changed in the addon as well.

I've found the following code, please try it: 

https://developer.wordpress.org/reference/functions/the_excerpt/#user-contributed-notes

Reply
1 Reply
Customer
(@flaren)
Joined: 5 years ago

Member
Posts: 25

@astghik

great! I'll give it a try thank you

Reply
Share:
Scroll to top