| Post Title | Posted | Description |
|---|---|---|
Parent Directory
|
||
| Excerpt for Pages | 2008-09-09 21:59 | Brings back excerpt entry field to page edit |
Some time ago, WordPress folks decided to discontinue excerpts for pages. All of my searches point to a blog that supposedly has a plugin that will bring this back but their server is not serving and I’m impatient so here’s an easy way how I got it running on my WordPress 2.6.2:
The only thing the code below does is that it enables the Excerpt field in the /wp-admin/page.php and saves it to the database. You still have to do the work of wiring it up into your template yourself. I might update it later.
|
1 2 3 4 5 6 |
<code>
<div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>">
<div class="inside">
<textarea id="excerpt" cols="40" rows="4" name="excerpt"><?php echo $post->post_excerpt ?></textarea>
</div>
</code> |
This website is powered by Wordpress
Leave a Comment