CompositePost WordPress Plugin

February 9, 2009

This is a rewrite of a plugin I wrote some time ago.

It let’s you write posts and pages composed of other posts and pages.

IMPORTANT: IF YOU DOWNLOADED THE PLUGIN FROM WORDPRESS.ORG, PLEASE RATE IT (USE THE STARS). THANKS.

Usage

Write anywhere on a post:

[composite option=”value”]

You can specify one or more options. The options are the same used in the get_posts() function (see http://codex.wordpress.org/Template_Tags/get_posts).

Example

Show all posts from category Projects and include post with ID = 1:

[composite category_name=”Projects” include=”1″]

Templates

CompositePost create a loop using a template located in the plugin’s folder (usually /wordpress/wp-content/plugins/composite_post). The default template is /wordpress/wp-content/plugins/compositepost/default.php. You can have as many templates as you want, just specify wich one to use, like this:

[composite category_name=”Projects” template=”my_template”]

CompositePost will look for the file at /wordpress/wp-content/plugins/compositepost/my_template.php

Download

Download the plugin

Versions and Bug Fixes

0.3 – Fixed: missing post’s original content, not showing up.

0.2 – Fixed: for the <!–more–> quicktag.

0.1 – First version .