It sounds like your theme dictates the excerpt length and is overriding out plugin. You can test this by switching to a default bundled theme such as TwentySixteen.
Evan
We are having this same issue unfortunately. Just installed the plugin today and built out a pretty extensive timeline and realized that several of the entries were cut off. We’ve tried “upping” the excerpts defined in the theme functions, we’ve tried adding an “upped” excerpt code to the child functions.php, and we’ve tried an excerpt plugin, yet nothing is solving the issue.
Any other ideas to solve this?
Hi!
Turns out our theme was not reading the child functions.php code properly.
If anyone else has this issue, adding this to the child theme functions.php solved it for us…
function custom_excerpt_length( $length ) {
return 100;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
The issue is actually that your theme is overriding the code defined within this plugin.
By adding a 999 priority on to the end of your function, you are executing that bit of code AFTER the code executed by this plugin – therefore leading to the announcement excerpts not working.
If you want your announcement excerpts to <b>always</b> be set to 100 characters, feel free to use the snippet provided above.
My personal recommendation would be to remove the snippet that your theme is using, or at least add a check as to what post type the excerpt_length filter is altering. My guess is that it effects ALL post types, including our announcements.
Either way, glad that you were able to come up with a solution that works for you.
Thanks for posting that here as I’m sure it will help someone out in future!
Evan
Thanks Gents! Your solution worked perfectly!
Thanks a ton!
B