User’s Guide

This page describes the usage of all available short codes in the plugin.

scf-post-id

Outputs ID of the post. If slug is provided, outputs the ID of that particular post.

scf-post-title

Outputs title of the post. If ID or Slug is provided, outputs the title of that particular post.

scf-post-content

Outputs content of the post. If ID or Slug is provided, outputs the content of that particular post.

scf-post-excerpt

Outputs excerpt of the post. If ID or Slug is provided, outputs the excerpt of that particular post.

scf-post-meta

Outputs metadata of the post (Publish Date, Modified Date, Comments Feed Link). If ID or Slug is provided, outputs the metadata of that particular post.

scf-post-permalink

Outputs permalink of the post. If ID or Slug is provided, outputs the permalink of that particular post.

scf-post-author

Outputs information about the post author (ID, Display Name, First Name, Last Name, Biography, Jabber, AIM, YIM, Google Plus, Twitter, Login Name, Password, Email, URL, Registration Date/Time, Account Status, Activation Key, Roles, Access Level). If ID or Slug is provided, outputs the information about author of that particular post.

scf-post-image

Outputs featured image of the post (ID, URL, HTML Image / Thumbnail, Medium, Full). If ID or Slug is provided, outputs the featured image of that particular post.

scf-post-field

Outputs custom field of the post. If ID or Slug is provided, outputs the custom field of that particular post.

scf-post-category

Outputs categories of the post (Names or Links / with Separator). If ID or Slug is provided, outputs the categories of that particular post.

scf-post-tag

Outputs tags of the post (Names or Links / with Separator). If ID or Slug is provided, outputs the tags of that particular post.

scf-post-taxonomy

Outputs tags of the post (Names or Links / with Separator). If ID or Slug is provided, outputs the tags of that particular post.

scf-post-next

Outputs the link to the next post (Custom Link Label, Position and Output Format).

scf-post-prev

Outputs the link to the previous post (Custom Link Label, Position and Output Format).

scf-post-attachments

Outputs attachments of the post (Custom Output / with Separator). If ID or Slug is provided, outputs the attachments of that particular post.

scf-allow

Displays selected content for specified role(s) only. If no role is specified, simply returns the content.

scf-login-form

Displays Word Press Login Form.

scf-login-link

Displays a login link, or if a user is logged in, displays a logout link.

scf-register-link

Displays either the “Site Admin” link if the user is logged in or “Register” link if the user is not logged in.

scf-table

Creates table structure.

scf-tr

Creates table row.

scf-td

Creates table cell.

scf-container

Creates container with an HTML tag.

scf-posts

Prints posts of defined post type. Also supports categories.