__(Shortcodes:) __(Use these codes inside the list item content (will
throw errors if placed in before or after HTML fields).)
- [ID] - the ID number of the page/post
- [post_author label="display_name"] - post author information. Possible types: ID, user_login, user_pass, user_nicename, user_email, user_url, display_name, user_firstname, user_lastname, nickname, description, primary_blog
- [post_permalink] - the page permalink
- [post_date format="m-d-Y"] - date page/post was created *
- [post_date_gmt format="m-d-Y"] - date page/post was created in gmt time *
- [post_title] - page/post title
- [post_content] - page/post content
- [post_excerpt length="250"] - page/post excerpt (note the optional character 'length' parameter)
- [post_name] - page/post slug name
- [post_modified format="m-d-Y"] - date page/post was last modified *
- [post_modified_gmt format="m-d-Y"] - date page/post was last modified in gmt time *
- [guid] - original URL of the page/post (post_permalink is probably better)
- [comment_count] - number of comments posted for this post/page
- [item_number offset="1" increment="1"] - the list index for each page/post. Offset parameter sets start position. Increment sets the number you want to increase on each loop.
- [final_end] - on the final list item, everything after this shortcode will be excluded. This will allow you to have commas (or anything else) after each item except the last one.
- [post_pdf] - URL to the page/post's PDF file. (Requires Kalin's PDF Creation Station plugin. See help menu for more info.)
- [post_meta name="custom_field_name"] - page/post custom field value. Correct 'name' parameter required
- [post_tags delimeter=", " links="true"] - post tags list. Optional 'delimiter' parameter sets separator text. Use optional 'links' parameter to turn off links to tag pages
- [post_categories delimeter=", " links="true"] - post categories list. Parameters work like tag shortcode.
- [post_terms taxonomy="category" delimiter=", " links="true" max="0" empty_message=""] - displays a list of post/page terms list. Required/Optional 'taxonomy' parameter sets what taxonomy terms to return; uses taxonomy slug as param value. Optional 'delimiter' parameter sets separator text. Optional 'links' parameter to turn off links to term pages/permalinks. Optional 'max' parameter to set the maximum amount of terms to list; Values Zero or less are infinite values. Optional 'empty_message' parameter to set a custom message to return if none of the taxonomy's terms exist in the post/page.
- [post_parent link="true"] - post parent. Use optional 'link' parameter to turn off link
- [post_comments before="" after=""] - post comments. Parameters represent text/HTML that will be inserted before and after comment list but will not be displayed if there are no comments. PHP coders: learn how to customize comment display (kalinbooks site).
- [post_thumb size="full" extract="none"] - URL to the page/post's featured image (requires theme support). Possible size paramaters: "thumbnail", "medium", "large" or "full". Possible xtract prameters: "on" or "force". Setting extract to "on" will cause the shortcode to attempt to pull the first image from within the post if it cannot find a featured image. Using "force" will cause it to ignore the featured image altogether. Extracted images always return at the same size they appear in the post.
- [php_function name="function_name" param=""] - call a user-defined custom function. Refer to this blog post (kalinbooks site) for instructions.
* Time shortcodes have an optional format parameter. Format your
dates using these possible tokens: m=month, M=text month, F=full text
month, d=day, D=short text Day Y=4 digit year, y=2 digit year, H=hour,
i=minute, s=seconds. More tokens listed here:
http://php.net/manual/en/function.date.php.
Note: these shortcodes only work in the List item content box on this page.