Just today, i have been developing a supplemental plugin to Collapse-O-Matic, called Collapse-O-Collection (let me know if you consider this infringement, Baden! and, P.S. i’d love to run this one by you at some point). akivi, it should be able to give you this functionality and is just about ready. i am using it extensively for a new site i’m developing. The description is as follows:
Collapse-O-Collection creates a shortcode that is able to collect subpages or posts (filtered by category, type, author, and/or tag) and cleanly list them using jQuery Collapse-O-Matic. Requires the jQuery Collapse-O-Matic plugin.
The [collect] shortcode takes the following parameters:
category=”*category-slug*”
type=”*post-type*”
tag=”*tag-slug*”
author=”*post-authors-nicename*”
**If none of the above post parameters are defined, then the collection pulls subpages of the current page (or nothing, if embedded in a post)**
number=”*Number of posts to display*” (defaults to all)
expand=”*Number of posts at start of collection to set expanded*” (defaults to 0)
display=”*excerpt | full*” (defaults to excerpt)
highlander=”*Sets Collapse-O-Matic highlander class*” (defaults to no relation)
split=”*Sets number of columns for the collection of posts*” (defaults to 1 and limited to 7)
header=”*Sets a header for the current collection of posts*”
headhighlander=”*Sets Collapse-O-Matic highlander class for header*”
headlevel=”*first | second*” (defaults to ‘first’)
headexpand=”*no*” (default is expanded)
findme=”*auto | no*” (defaults to auto)
splitchild=”*Sets number of columns for child pages*” (defaults to 1 and limited to 7)
splitgrandchild=”*Sets number of columns for grandchild pages*” (defaults to 1 and limited to 7)
Additionally, if a header has been provided, content can be enclosed in the shortcode, which will then display directly beneath the header and before the collection.