WordPress.org

Ideas

Let me define excerth length

  1. Mehmet
    Inactive

    12345

    CMS or Magazine/News style WordPress themes requires to limit the length of posts according to section they are published on.

    The entry might have different excerpt length on featured post area, and shorter length on a different section. I really would like to see a template tag on WordPress where I can enter the length of post to be displayed on main page just something similar to below;

    <?php the_excerpt('length=13&allowedtags=<a><p>'); ?>

    This function is available with excerpt reloaded plugin, but I strongly would like to see that feature implemented into WP

    Posted: 12 years ago #

  2. Inactive

    12345

    I was somewhat dismayed to find: $excerpt_length = 55; in wp_trim_excerpt. I need it to be shorter. I'll try the plugin mentioned for now, but it should be standard.

    Posted: 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    4 Votes
  • Status

    This is plugin territory