ggis-InlinePost

Usage

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


Here is an explanation of all the available attributes:

ggisinlinepost – identifies the shortcode (required)
id – id of post to include (required)
titletag – the tag in which to enclose the title (limited to simple tags such as h2, h5, p, b, etc.)
topseparator – put a horizontal rule before the post (0/1, default = 0)
botseparator – put a horizontal rule after the post (0/1, default = 0)
showtitle – show title of the post (0/1, default = 1)
showmeta – show metadata of the post, includes modified date and comments (0/1, default = 1)
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:

IMG_0143 WB

Deprecated Usage

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