Easy Excerpt

Description

Easy Excerpt is a simple plugin that lets you modify your WordPress excerpt.

There are three things you can modify:

  1. Length of excerpt (default 55 words)
  2. Ending of excerpt (default [...])
  3. Link to rest of the article (default there is no link)

For those of you that don’t want a plugin for doing this, there is a text file with the code snippets that you can put in your themes functions.php instead.

WordPress Easy Excerpt

WordPress Easy Excerpt

Download

Go to Easy Excerpt on WordPress.org to read more about the plugin or download Easy Excerpt directly.

12 Responses to Easy Excerpt

  1. Pingback: Change your excerpt in WordPress with Easy Excerpt | Fredrik Malmgren

  2. Kristian says:

    Have you any thoughts about including “featured image” as an option in Easy excerpt?

    • Fredrik says:

      Hi Kristian,

      No, I haven’t thought about that but it might be a good feature to add.
      I will investigate on how to get that to work nicely.

      • Kristian says:

        Hopefully you find a solution!

        I think the option could be very useful for e.g. photoblogs who geotag their posts. Google uses in GeoRSS-flows the excerpt for the information which is shown in the info windows on Google maps.

  3. Catherine says:

    Apologies for the site — it’s still under heavy construction. But as you can see I’ve got Easy Excerpt working!

    …except for one thing. I can’t apply the article permalink to the custom text. I’ve tried putting the tag into the “link” field and I’ve also tried < a href= "">Continue in the more field. What am I doing wrong?

    • Fredrik says:

      Hi Catherine,

      If I understand your question correctly you want the link to be added when you use a manual excerpt?

      That doesn’t work in release 0.1.0 but I will release a new version with that function as soon as possible.

    • Fredrik says:

      Hi Catherine,

      I have updated Easy Excerpt so that there is a link for read more on the manual excepts as well.

  4. Roues says:

    Error occurs when processing the auto-generated exerpts:
    Notice: Undefined variable: excerpt_more_link in /home/k/kroki/blog/public_html/plugins/easy-excerpt/easy-excerpt.php on line 123

    To resolve this problem, I replaced the code on lines 120-123:
    if( has_excerpt() ) {
    $excerpt_more_link = ' manual ' . $link . '';
    }
    return $more. $excerpt_more_link;

    with:
    if( has_excerpt() ) {
    $more .= ' manual ' . $link . '';
    }
    return $more. $excerpt_more_link;

  5. Pingback: Easy Excerpt is updated to version 0.3.0 | Fredrik Malmgren

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>