Page Excerpt

Page excerpt allows you to create hand-crafted summaries of your content, much like you would with a post.

Questions? Leave them in the comments and I’ll get back to you ASAP

62 Responses to “Page Excerpt”

  • Flow Says:

    First off, thanks for this great Plugin!
    But I got one question:
    How can I customize the length of the shown page excerpt without having to force my customer to always test if the length of the excerpt fits the size of the frontend box?
    Altering the general excerpt length by editing the functions.php (as you can see below) doesn’t seem to work.
    [code]
    add_filter('excerpt_length', 'my_excerpt_length');
    function my_excerpt_length($length) {
    return 20; }
    [/code]

    Thanks in advance!

  • brent Says:

    great plugin – thanks

  • Netke Says:

    For some reasons on my two WP sites this plugin doesn’t work. Both of them are version 2.9.1 and when I activate plugin, nothing happens. Do I have to configure something else?

  • Netke Says:

    My bad… I checked out again and it’s working just fine. :)

  • Amy Says:

    I can’t seem to get this to work. I installed the plugin and the excerpt box is now showing, but when I enter text in the excerpt…it doesn’t do anything. The whole post still shows. Any idea what the problem could be?

  • jeremy.massel Says:

    Amy, are you using WP 3.0? I haven’t tested the excerpt on it yet, so I’m not sure if it works.

    In your theme, are you calling “the_content()” or “the_excerpt()”? You need to call the excerpt method, or else you won’t get that text. Hope that helps!

  • Amy Says:

    Thank you for replying Jeremy!
    Sorry for my ignorance…but how/where do I call “the_excerpt()”? I am using WP 3.0…but it should be working as I see the excerpt box there, shouldn’t it?

  • jeremy.massel Says:

    Amy, it’s likely that your theme isn’t using the_excerpt().

    I’d check out your theme files, index.php, archive.php, and category.php would be a good start. If you can find the_content() and replace it with the_excerpt(), you’ll probably be off to a good start!

    The excerpt box being there won’t help, if WordPress isn’t being told to display it anywhere

    Hope that helps!

  • Jeff Says:

    I’m wondering if there’s an easy way to tie the excerpt into the wp_list_pages function.

    So I can get the excerpt to display in the list.

    Have you tried this or had any luck?

    • Jeremy Massel Says:

      Jeff,

      the wp_list_pages is a wrapper around the WordPress loop. I would suggest writing a loop query with the same parameters you want for the page list, and using that on your page. then you can simply call the_excerpt(); for the page you want.

      the documentation is here: http://codex.wordpress.org/The_Loop

  • Chris Says:

    I’m trying to use the plugin with parent pages so that the parent page will list subpages and a little about each subpage. Without the plugin, the parent page displays each subpage title and an auto generated excerpt just fine. When I install the plugin, it seems to pull the excerpt from the parent page and not the individual child pages. Here is the code. Any ideas?

    get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = “.$post->ID.” AND post_type = ‘page’ ORDER BY menu_order”, ‘OBJECT’); ?>

    <a href="guid; ?>” rel=”bookmark” title=”post_title; ?>”>post_title; ?>
    the_excerpt();?>

    • Freshmint Says:

      Used this loop to create an unordered list with thumbnail (featured image), title and exceprt for child pages


      $post->ID,
      'post_type' => 'page',
      'post_status' => 'publish'
      );
      $postslist = get_posts($args);
      foreach ($postslist as $post) :
      setup_postdata($post);
      ?>

      <a class="list-thumb bdr-white fltL"href="" rel="bookmark">
      <a href="">


    • Freshmint Says:

      Full code….

      $post->ID,
      ‘post_type’ => ‘page’,
      ‘post_status’ => ‘publish’
      );
      $postslist = get_posts($args);
      foreach ($postslist as $post) :
      setup_postdata($post);
      ?>

      <a class="list-thumb bdr-white fltL"href="” rel=”bookmark”>
      <a href="”>

  • Chris Says:

    sorry, code didn’t go through.

    get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = “.$post->ID.” AND post_type = ‘page’ ORDER BY menu_order”, ‘OBJECT’); ?>

    <a href="guid; ?>” rel=”bookmark” title=”post_title; ?>”>post_title; ?>

  • Chris Says:

    I’m not sure how to add the_excerpt () function with wp_list_pages.

  • karin Says:

    i was wondering if it is possible to show a read more link in the excerpt. I tried:
    <?php the_excerpt('Lees meer »’); ?>
    But doesn’t seem to work… any ideas ?

  • Cale Bergh Says:

    Jeremy:
    1) Thank you for an awesome plugin. Love it!
    2) Thought I might save some others some headache. I’m running WP 3.1, and installed the plugin. Could NOT see the Page Excerpt metabox anywhere, tried EVERYTHING under Screen options, was pulling my hair out. Then, on a wild whim, I went to Add/Edit Post, where under Screen Options you can hide/show the Excerpt metabox. Showed it THERE, and went back to the Add/Edit Page, and voila! The Page Excerpt metabox was visible.

    Thanks again!

  • Markus Freise Says:

    Add this to your functions.php. After that, you can choose „Excerpt“ under „Screen Options“ in the Edit-Panel:

    add_post_type_support(‘page’,'excerpt’);

  • Chris Cernoch Says:

    FYI $after_title .= ‘‘; should change to $after_title = ‘‘.$after_title; for the tags to close propoerly

  • ar Says:

    Hello,
    Using Latest version of Page Excerpt in WP 3.1 and looks like that when I go to Page -> Add new (or modify one) at first time the Excerpt box is hidden: I need to enable it from the top right WP screen options.Then after saved the page, I will get the Excerpt metabox re-hidden as above.using the_excerpt() in the template and add_post_type_support(‘page’,’excerpt’); in functions.php
    Not sure if I had debugged as well.

    • josh Says:

      Same problem. Also running 3.1. I put the code in functions.php, but still no checkbox for Excerpt comes up under Screen Options for me.

  • Pawel Says:

    How i can get page excerpt when im displaying subpages on page?

    ID.”);
    foreach($mypages as $page)
    {
    ?>
    ID); ?>

  • daddy Says:

    great plugin but ican operated this plugin? newby help

  • Eric Brown Says:

    Having some issues getting the excerpt to display properly. I am using a static page for the homepage for a client and had to create the loop. Here is my code:

    About Client

    <a href="”>Read More…

    Any help would be appreciated :) The “Read More…” is displaying. Just not the excerpt. Do I need a page id in there maybe?

  • Eric Brown Says:

    Code didn’t show

    [code]

    About Client

    <a href="">Read More...

    [code]

  • Eric Brown Says:

    One more try (having an idiot moment):

    <!–Start the Loop –>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    <!–The Three Boxes Below the Buttons –>
    <div id=”bottom-content”>
    <div id=”bottom-content-left”>
    <h2>About Client</h2>
    <p><?php the_excerpt(); ?></p>
    <p><a href=”<?php echo get_permalink(); ?>”>Read More…</a></p>
    </div>
    </div><!–#bottom-content –>

    <?php endwhile; else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
    <?php endif; ?>
    <!–End the Loop –>

  • Mike Says:

    The plugin doesnt appear to work with WP 3.2.1 – i’ve installed and activated yet see no area new to add excerpt content. Have cleared my cache, logged out + back in again and checked the “screen options” dropdown menu for clues but nothing helps.

  • Karen Says:

    Hi,
    I love this plugin and have used it for some time. Just recently we upgraded to the latest version of wordpress 3.2.1. However now my ‘editors’ cannot see the excerpt box.. it appears as only admins can. Is there anyway I can change this setting?

    Thanks
    Karen

  • Karen Says:

    Hi,
    I love this plugin and have used it for some time. Just recently we upgraded to the latest version of wordpress 3.2.1. However now my ‘editors’ cannot no longer see the excerpt box.. it appears as only admins can. Is there anyway I can change this setting?
    Thanks
    Karen

  • Kelly Says:

    Can someone please post or publish a short video for “dummies” like me on how to use this? I have several sections on my front page where I’d like to use the More and excerpt functions.
    Thank you so much
    K

  • | europe-service Says:

    [...] Page Excerpt [...]

  • Sérgio Says:

    Hi. Just wanted to know if this plugin is compatible with WP 3.3. Thanks.

  • Noah Says:

    We are using this plugin on our clients site which is WP 3.3.1 and now the “excerpt” Screen Options check box has stopped working. Is anyone having this issue?

  • Brian Says:

    Is there a way to add the editor toolbar for rich text content? Thanks

  • Terry Says:

    The plugin is working great. I am also using the plugin Special Text boxes(STB) – Do have any pointers on how I could get the excerpts to display within one of these? STB uses an opening short code to denote the beginning and a closing shot code to terminate it.. How can I get your excerpt info within this tag pair? I noticed another excerpt plugin that does not remove HTML or short codes… but it does not allow me to define the excerpt like yours does which is the feature I like about yours. TIA

  • Maccaj51 Says:

    Hi There,

    I cant call the excerpt like this…

    ’10′, ‘sort_column’ => ‘post_date’, ‘sort_order’ => ‘desc’ ) );
    foreach( $mypages as $page ) {
    $feat_image = wp_get_attachment_url( get_post_thumbnail_id($page->ID) );
    ?>

    <a href="ID ); ?>” class=”menu-link”>
    post_title; ?>
    <img src="” width=”280″ height=”140″ class=”img”/>
    the_excerpt(); ?>
    Read More

    Any ideas or help would be greatly appreciated…

  • How to Design in Wordpress the Hard Way (a Walk-Thru) | A Better User Experience Says:

    [...] to make this work, I used a plugin. You can use whatever suits you best, but I used a plugin called Page Excerpt. What’s genius about this plugin is that it gives you a place when you write your page to add [...]

  • 27 Top WordPress Plugins that Power JonLoomer.com Says:

    [...] Page Excerpt WordPress only allows you to enter excerpts for blog posts, but this adds the functionality for pages as well. [...]

  • Miles Says:

    I’m trying to show a specific page excerpt, thumbail, and title, but all I can get is the title. Does this look right?

    post_content;
    echo $title = $page_data->post_title;
    echo $the_excerpt;
    ?>

  • JSB Says:

    Hi Miles
    this worked for me :

    post_content;
    echo $page_data->post_title;
    echo $page_data->post_excerpt;
    ?>

    • JSB Says:

      oups the whole text didn’t go through.
      Basically I was able to get the excerpt through: $page_data->post_excerpt

  • Hardy Says:

    Hi …

    thanks for this simple an good Plugin … I like to have this one for posts also … any chance ?

    Hardy from berlin

    • Dallas Says:

      Hardy, posts have an excerpt by default anyway.
      If you can’t see it click the screen options button at the top right of the post editor page.

  • ITALIC™ » Trucs utiles pour WordPress Says:

    [...] s’agit du bien nommé Page Excerpt, dont l’utilisation simplissime se passe de commentaire. Ce truc devrait être inclus dans la [...]

  • Lolke Says:

    Works well! However I found a minor issue that you may want to know of.

    http://validator.w3.org:

    Line 98, Column 457: No p element in scope but a p end tag seen.

    …excerpt-read-more” href=”http://www.xml2java.net/overview/”>Read more »

    Apparently you are writing an end tag. I can fix it by only putting in a , but of course that is not the way it should be handled.

  • Dallas Says:

    Awesome plugin – this is a standard install on all my Genesis sites – perfect when using a Genesis featured page widget.

  • Thomas Buxton Says:

    My page @ http://cajunmaids.com/services/ uses Page Excerpt, however, when I updated the plugin, my page no longer functions properly. Im looking to either A) Revert back to the previous version of the plugin or B)Fix the issue with the updated version.

  • drew Says:

    I’ve installed and activated page excerpt plugin but excerpt box does not appear when editing pages.
    I’m using StudioPress Genesis with Agency child theme, WP 3.6
    Thanks for your help

  • The Boss Hates Me Says:

    I too am having a problem using this plugin with genesis 2 and using the Agency theme.

    I am using genesis 2.01 and in the admin section for the PAGES there is no excerpt box.

    Thanks in advance.

  • Mike Ellis Says:

    Hi,
    I have administration rights etc. for the site and excerpts works fine for me. I have set a colleague up as an administrator too but excerpts does not appear on the editing page when he logs in. Any reason why this is? I have changed him to an editor but still no excerpts. Help!!!

  • Reny Says:

    Hi Jeremy!

    I have WordPress 3.8. and your plugin doesn’t seem to work on it at all. It installed nicely, but the excerpt box doesn’t show.

    Am I doing something wrong, or is it just not compatible?

    Uff, I really need to get the page excerpts and can’t find any working alternatives.
    Please let me know if there is any way to get this to work.

    Thank you so much!
    Reny

  • Ulf Seijmer Says:

    Hi, awesome plugin. However I am trying to alter the excerpt length via a child theme and I can not override the default WP 55 word excerpt setting. Have you tested that?

  • Bill Byrd Says:

    I am new to this. I am using a static page for my front page and I want excerpt to show. How di execute the plugin.

    Bill

  • David Severtson Says:

    Any news about when Page Excerpt will be updated for WordPress 3.9.1?

  • Philipps Says:

    Hi!
    i also have lost the page excerpts since WP 3.9, does someone knows how to get them back? Thanks a lot

Leave a Reply