Plugin Directory

ggis-InlinePost

Include posts in pages (and in other posts). Simply add [ggisinlinepost id="id"] to your post.

Download Version 1.2

Usage

A post may be inlined onto a post or page, by including the following code in your text.

[ggisinlinepost id="%id" attribute1="%attr1" attribute2="%attr2"]

Here is an explanation of all the available attributes:

  1. ggisinlinepost - identifies the shortcode (required)
  2. id - id of post to include (required)
  3. titletag - the tag in which to enclose the title (limited to simple tags such as h2, h5, p, b, etc.)
  4. topseparator - put a horizontal rule before the post (0/1, default = 0)
  5. botseparator - put a horizontal rule after the post (0/1, default = 0)
  6. showtitle - show title of the post (0/1, default = 1)
  7. showmeta - show metadata of the post, includes modified date and comments (0/1, default = 1)
  8. showcontent - show the main content of the post (0/1, default = 1)

Most of the above optional fields may be set via the wordpress dashboard settings. Below is a sample using all possible attributes and their default values:

[ggisinlinepost id="4" titletag="h3" topseparator="0" botseparator="0" showtitle="1" showmeta="1" showcontent="1"]

Deprecated Usage

The following code convention will still be properly parsed by this plugin though it usage has been superceded by the shortcode convention.

[-ggis-inlinepost attribute1="%attr1" attribute2="%attr2"-]

Requires: 2.5 or higher
Compatible up to: 3.0.5
Last Updated: 2010-9-8 Downloads: 3,017

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1 100,2,2
0,2,0
100,1,1
0,1,0