Is there a way to change how many characters or words are displayed in an event description before the ‘Read More’ or ‘Find out More’ button appears? Right now, it appears as if ~80 words are displayed before breaking. I’m looking to have less displayed.
I’m not looking to limit the amount that can be entered in a description, just change what is displayed.
Try adding the following snippet to the bottom of your theme’s functions.php file. Adjust the ’60’ value to whatever you’d like. Let me know how it goes and thanks for reaching out. Cheers!
add_filter( 'excerpt_length', 'tribe_excerpt_length' );
function tribe_excerpt_length() {
return '60';
}
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Event description question’ is closed to new replies.