[option]

Shortcode displays WordPress option value. Uses WordPress get_option() function.

Attributes

name
(required) Name of option to retrieve. E.g.: blogname.
Default: None
default
(optional) Default value to return if the option does not exist.
Default: None
array_glue
(optional) If resulting value is an array, it’s “glued” with PHP implode() function. You can set function’s glue argument here.
Default: ,

Examples

Example

[option name="blogdescription"]

Output

Awesome WordPress plugin
No comments yet.

Leave a Reply