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
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
September 1st, 2009 at 6:09 am
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!
October 16th, 2009 at 4:20 am
great plugin – thanks
February 13th, 2010 at 7:05 am
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?
February 13th, 2010 at 7:09 am
My bad… I checked out again and it’s working just fine. :)
June 23rd, 2010 at 10:43 am
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?
June 23rd, 2010 at 10:46 am
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!
June 24th, 2010 at 11:46 am
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?
June 24th, 2010 at 4:14 pm
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!
October 29th, 2010 at 11:16 pm
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?
October 29th, 2010 at 11:20 pm
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
December 31st, 2010 at 9:07 am
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();?>
December 31st, 2010 at 9:11 am
Chris, have you considered using http://codex.wordpress.org/Function_Reference/wp_list_pages ?
April 26th, 2011 at 2:05 pm
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="">
April 26th, 2011 at 2:06 pm
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="”>
December 31st, 2010 at 9:10 am
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; ?>
December 31st, 2010 at 10:31 am
I’m not sure how to add the_excerpt () function with wp_list_pages.
January 14th, 2011 at 1:10 am
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 ?
March 9th, 2011 at 4:34 pm
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!
March 14th, 2011 at 11:30 am
Don’t work for me. I tried this and nothing… Another solution? Thanks.
March 14th, 2011 at 12:27 pm
Didn’t work for me either?
Here’s the codex reference on the post excerpt chagnes in 3.1 though: http://codex.wordpress.org/Excerpt#How_to_add_excerpts_to_posts
March 16th, 2011 at 6:50 am
[...] Page Excerpt [...]
March 21st, 2011 at 7:09 am
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’);
March 25th, 2011 at 11:59 am
FYI $after_title .= ‘‘; should change to $after_title = ‘‘.$after_title; for the tags to close propoerly
March 30th, 2011 at 11:18 pm
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.
March 31st, 2011 at 4:58 pm
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.
June 10th, 2011 at 4:35 pm
How i can get page excerpt when im displaying subpages on page?
ID.”);
foreach($mypages as $page)
{
?>
ID); ?>
August 3rd, 2011 at 11:43 pm
great plugin but ican operated this plugin? newby help
August 18th, 2011 at 5:06 am
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?
August 18th, 2011 at 5:12 am
Code didn’t show
[code]
About Client
<a href="">Read More...
[code]
August 18th, 2011 at 5:16 am
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 –>
October 5th, 2011 at 3:43 am
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.
October 27th, 2011 at 9:51 pm
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
October 27th, 2011 at 9:51 pm
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
November 4th, 2011 at 10:10 am
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
January 7th, 2012 at 7:50 am
[...] Page Excerpt [...]
January 16th, 2012 at 8:43 am
Hi. Just wanted to know if this plugin is compatible with WP 3.3. Thanks.
February 1st, 2012 at 10:15 am
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?
February 1st, 2012 at 11:51 pm
Yes, I have the same issue after upgrade to 3.3.1. I also use this plugin on many clients. Please update the plugin asap!
Thank you very much!