March 30th, 2008 › Page Excerpt

Current Release: 0.02 (download) - Released on March 30th 2008

What it does

This plugin allows you to specify a specifc excerpt for WordPress pages

How it works

The plugin adds an extra box to the set an Optional Excerpt for a WordPress page similar to the box which is available for posts. The box is aded using the dbx_page_advanced hook for versions of WordPress earlier than 2.5 and using add_meta_box() for WordPress 2.5 and later.

Requirements

This plugin has been tested with WordPress v2.0.4 is should work with all WordPress versions that support pages (v2.0 and later).

Download

The latest version of the plugin may be downloaded here: pjw_page_excerpt.0.02.zip

Read 18 Comments

18 Comments »

[...] Jetzt kann das ganze natürlich noch SEO mässig aufgepimpt werden. Dazu biete ich hier im Paket nochmal eine andere header.php und zwei Plugins. Das eine ist das SimpleTagging Plugin und das andere heisst PJW Page Excerpt. [...]

Pingback by picoCMS: SEO Template for Wordpress — 21/5/2007 @ 1:51 am §

 

My website - notsonews.com - is powered by wordpress 2.2.1 and this plugin works like a charm. I have posted a “thank you” message and a “do follow” link towards this page on my about pages. Many Thanks!

Comment by Stefan — 19/7/2007 @ 8:59 am §

 

Hello! I am hoping that your optional excerpt plugin for pages will also let me tap into the excerpt data to return it in a title attribute… possible?

How can I get the optional excerpt for a page by passing the ID of the page? Can I do that?

Comment by Casey — 29/12/2007 @ 2:24 am §

 

Casey: Unfortunately the_excerpt() doesn’t take a post id as an argument but just provides the excerpt of the current post. You will need to setup the $post global first by calling get_post(). Something like this should do it (untested!):


$post = get_post(<post_id>);
the_excerpt();

Comment by westi — 29/12/2007 @ 9:19 am §

 

[...] PJW Page Excerpt provides page excerpt (by default this feature is only available for posts). [...]

Pingback by Burgaud.com » Blog Archive » Burgaud.com 6.0 — 29/12/2007 @ 7:27 pm §

 

Loved the plugin, but upon upgrading to 2.5, I still see the page excerpts on my site, but there is no “optional excerpt” field appended to the write/edit page within the wordpress dasboard to be found. Which means that for new pages I create, I cannot add excerpts, nor can I edit old ones. Help?

:D

Comment by Lyanna — 30/3/2008 @ 12:52 pm §

 

Lyanna: Working on a fix for this. This was such a use a forget plugin for me that I had not tried to use it since switching to 2.5 on this site.

Comment by westi — 30/3/2008 @ 1:48 pm §

 

[...] have just released an updated version of my “Page Excerpt” plugin to work with the new add_meta_box() api in WordPress 2.5. Enjoy! Comment on this [...]

Pingback by Peter Westwood » Updating plugins for WordPress 2.5 — 30/3/2008 @ 2:13 pm §

 

[...] been looking for this. The Page Excerpt plugin allows you to specify a specifc excerpt for WordPress pages (like pages). Now upgraded to [...]

Pingback by Page Excerpt Plugin | David Bisset: Web Designer, Coder, Wordpress Guru — 31/3/2008 @ 5:50 am §

 

Hello,

many thanks for the plugin. For me it seems to work fine. There is only one thing a don’t understand. Whe I open a new page and watch the textarea for the excerpt, there is a lonly inside of it? Do you have any idea why and how to fix this?

Cheers,
Sebastian

Comment by Sebastian — 1/4/2008 @ 5:44 pm §

 

… it shows up after saving a page!

Comment by Sebastian — 1/4/2008 @ 5:48 pm §

 

Cheers! Just what I was looking for.
Any chance of making the text box a little bigger? I tried changing the plug but couldn’t seem to get it to pass through to the textbox size.
Thanks again.

Comment by lotech — 7/5/2008 @ 7:28 am §

 
 

Hi, and thank you very much for the great plugin, it works beautifully. I am actually coming to you in reverse as I am getting errors trying to leave a comment over at Vito’s (creator of the iinclude page plugin) page, where this question really should be asked. What I am attempting to do is use his include page function, which allows for the use of the more tag to call only a teaser, to instead call the excerpt that your code allows me to create. My end goal is to show only the excerpt for the included page on my home page, but, after following the “continue” link have that teaser no longer visible. It should be fairly easy to have his call to the more tag, call to your excerpt instead, but, unfortunately I am not good enough with coding to know where to make the replacements. I’m not sure that you are even familiar with the iinclude page plugin, but, if you can offer up any suggestions on how to make his plugin work with yours, I would be very grateful. Thanks!

Comment by Angie Walton — 10/7/2008 @ 8:47 pm §

 

@Angie: Can you send me more details of the code involved via my contact form and I’ll try and work out what you need in your template.

Comment by westi — 16/7/2008 @ 8:08 am §

 

Hi!

I’m definitely interested in the comptibility requested by Angie Walton. Improved Include Page does a great job of allowing a page’s content to be extracted and added to a template (including a widget, which I haven’t tried). It’s very versatile, as it allows for the inclusion of the entirety of a page’s content or an excerpt (determined by the !–more– tag).

The functionality that I (and I think Angie) want is for that plugin to call your plugin’s custom page excerpt, so that the excerpt displayed on my index page isn’t simply the first paragraph of the page, but a descriptive text that better suits this context.

Please let me know if there is more information I can supply. Thanks!

Comment by Alfonso — 21/7/2008 @ 9:19 pm §

 

Tried your plugin on a site of mine and now I’m having problems with other plugins.

Out of three sites only the one I used this pulgin on is having the problems.

problems:
when I activate headspace2 plugin the lighter menus plugiin does not function on page/post write & edit panels. Also The tinymce excerpteditor no longer works, this started the instant I installed this plugin and now that it is deleted it works only if headspace2 is turned off.

I posted on the headspace site. It’s clear that some conflict is created by your plugin with headspace2 and that conflict continues even after your plugin is deleted.

Would love to get this fixed. . .
thanks.

Comment by Charles — 22/7/2008 @ 7:31 pm §

 

@Charles: I am not sure how this plugin can cause a conflict as it only adds something on the “Write > Page” page and the extra html it adds is the same as that which is used on the “Write > Post” page.

Can you be more specific about the problems you are seeing?

Comment by westi — 22/7/2008 @ 8:44 pm §

 

RSS feed for comments on this post. TrackBack URI

Leave a comment

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

22 queries. 0.992 seconds. Powered by WordPress.