Documentation • Knowledge Base

General Shortcode

Table of Contents

Documentation • Knowledge Base

Page & Post

General Shortcode

General shortcodes for post or page usage. Returns info about the current post or page.

Usage

Shortcode

Year

Description

(Int) Returns the current calendar year.

Example

Shortcode

Next Year

Description

(Int) Returns the current calendar year.

Example

Shortcode

Published Date

Description

(String) Returns the date a page / post was published.

Example

Shortcode

Updated Date

Description

(String) Returns the last date a page / post was updated and or modified.

Example

Global XPX Info

General Shortcode

General XPX shortcodes that return saved options and settings.

Usage

Shortcode

Facebook URL

Description

(String) Returns the Facebook URL.

Example

Shortcode

Twitter URL

Description

(String) Returns the Twitter URL

Example

Shortcode

LinkedIn URL

Description

(String) Returns the LinkedIn URL

Example

Shortcode

LinkedIn (Group) URL

Description

(String) Returns the LinkedIn (Group) URL.

Example

If Chapter parameter is not specified, by default returns the current Chapter url.

If Chapter and ID parameter is not specified, by default will return null or empty.

Updated: [post_updated_day]

Menu