Composite Post

Compose a post or page with other posts or pages.

Author:Rodrigo Rutkoski Rodrigues (profile at wordpress.org)
WordPress version required:2.0.2
WordPress version tested:2.1
Plugin version:0.3
Added to WordPress repository:12-02-2009
Last updated:04-05-2009
Warning! This plugin has not 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.
Rating, %:0
Rated by:0
Plugin URI:http://rutkoski.wordpress.com/
Total downloads:3 471
Active installs:20+
plugin download
Click to start download

CompositePost let’s you insert posts/pages inside other posts/pages.

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 https://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/composite_post/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/composite_post/my_template.php