Post Excerpts Length

When adding posts to your newsletter with the Post or Automatic Latest Content, excerpts can be shown. 

First, MailPoet will limit the length of the excerpt to 60 words. 

But if you are using the <!-- more -->` tag in the content, MailPoet will use the text above it for the excerpt.

Finally, MailPoet will use the custom excerpt from the post, if it's present.

If you wish to override the default value (e.g., display 20 instead of 60 words), you can use the following code:

add_filter('mailpoet_newsletter_post_excerpt_length', function() {
  return 20; /** # of words to display */
});

Just add this code to the bottom of your functions.php file inside your current theme folder.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.