WordPress.org

Ready to get started?Download WordPress

Forums

Notifly
Excerpt (3 posts)

  1. Flotto
    Member
    Posted 2 months ago #

    Hello Samuel,

    What code should I use to send an excerpt instead of the whole post?
    And where should I put it in?

    https://wordpress.org/plugins/notifly/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 months ago #

    There's no real easy way to do that. You could modify the post_email function to send an excerpt instead of the $post->post_content, but you'd have to build the excerpt yourself there, since $post->post_excerpt is not automatically populated with the auto-generated excerpt.

  3. Flotto
    Member
    Posted 2 months ago #

    Any idea how to build the excerpt code there?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags