This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Excerpts from children

Description

This plugin dynamically generates html paragraphs with excerpts from child pages. Put [excerpts-from-children] on any page
and it will insert the excerpts from its child pages.

In the subpages you want to extract the excerpts from, define the end of the excerpt by putting <!--excerpt-end--> in the text.

Use the custom field key “excerpts-from-children-thumb” with the value of an uploaded image ID to output thumbnail images for your excerpts. Add this custom field to your child page, and make sure you crop or resize it the way you want it before you upload.

The generated output

The structure of a generated excerpt looks like this:

<div class=”excerpts-from-children”>
<img src=”/link/to/image” title=”Title of page thumnail” />
<h3>Title from the child page</h3>
<p>Excerpt from the child page</p>
<p class=”read-more”><a href=”/link/to/page”>Read more »</a></p>
</div>

By using the CSS class “excerpts-from-children” you can style your excerpts. To get the image ID needed for the thumbnail, view the thumbnail in the admin interface and check “attachment_id=” in the URL query string. Note that the images doesn’t use any scaling applied by WordPress, so crop/resize them to the exact size you want for your excerpt!

Installation

  1. Upload excerpts-from-children to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [excerpts-from-children] in the text of the page you want to use to display the excerpts (the parent page)
  4. Put <!--excerpt-end--> in the text area of the child pages, from which you want to extract the excerpt
  5. To add a thumbnail, add a custom field to your child page. Enter “excerpts-from-children-thumb” as key, and an image ID as value.

Contributors & Developers

“Excerpts from children” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2

  1. NEW Added basic support for thumbnails in excerpts.

1.1

  1. FIX ‘read more’ links so that they link from the domain root
  2. FIX ordering of child pages so that order field of pages can be used
  3. NEW wrap the read-more link in a paragraph tag

1.0

Initial release