Argument list for WP UI Shortcodes.
Tabs/accordion
Tabs and accordion
[wptabtitle]
| Arguments |
Values |
| load |
URL to the page your want to load through AJAX. |
| post |
ID of the post you want to load into the tab |
| page |
ID or name of the page you want to load into the tab. |
| page |
ID or name of the page you want to load into the tab. |
| cat |
ID or name of the category to load posts from. |
| tag |
Name or ID of the Tag to load posts from. |
| number |
Number of posts to load from the category or tag, if given. |
| before_post |
This appears before the post |
| after_post |
This appears after the post |
[wptabcontent]
| Arguments |
Values |
| none yet |
wptabcontent shortcode handles the tab’s contents should follow [wptabtitle] shortcode, except when the latter is used with post related arguments, post, page, cat, tag. |
[wptabs]
| Arguments |
Values |
| type |
Tabs or accordion. Choose type=”accordion”. |
| style |
Any of the accepted stylename values, given just below the table.
[wptabs style="wpui-achu"] |
| mode |
Define mode=”vertical” for vertically oriented tabs. |
| effect |
Effect to be used with the tabs. Accepted values are “fade” or “slide”.
[wptabs effect="fade"] |
| style |
Any of the accepted stylename values, given just below the table.
[wptabs style="wpui-achu"] |
| style |
Any of the accepted stylename values, given just below the table.
[wptabs style="wpui-achu"] |
| rotate |
Tabs auto rotation. It’s value need to be in microseconds eg:4000 or 4s ( 4 seconds ).
[wptabs rotate="6000"] is same as
[wptabs rotate="6s"] |
| Position |
Position of the tabs. position="bottom" moves the tabs to the bottom |
Tab posts
[wptabposts] Tabs with multiple posts.
| Arguments |
Value |
| All arguments |
This shortcode is basically the [wptabs] shortcode, so all the options apply. |
Spoilers
[wpspoiler] Spoilers (single) | Collapsible (multiple)
| Arguments |
values |
| name |
Name/Title of the spoiler. |
| style |
Any of the accepted stylename values, given just below.
[wptabs style="wpui-achu"] |
| fade |
Fade(animate opacity) on open/close.
[wpspoiler fade="true"] |
| slide |
Slide on open/close.
[wpspoiler fade="true"] |
| speed |
Animation speed in milliseconds. Greater the value, slower the animation. |
| closebtn |
Inserts a close button at end of the spoiler, with value as the label.
[wpspoiler closebtn="Click to close me"] |
| showText |
Text or HTML show on the closed spoiler i.e when content is hidden.
[wpspoiler showText="Click to show"] |
| hideText |
Text or HTML show on the open spoiler i.e when content is visible.
[wpspoiler hideText="Click to hide"] |
| open |
When this is set to true, Spoiler is open ( the content is visible ) at page load. |
| post |
ID of the post. This is loaded into the spoiler. When a post is specified, the post title is used as the name Argument.
[wpspoiler post="1171"] |
| before_post |
This appears before the post |
| after_post |
This appears after the post |
Dialogs
[wpdialog] Dialogs
| Arguments |
Values |
| title |
Title of the dialog.[wpdialog title="Information regarding Unicorns"] |
| width |
Width of the dialog, without the suffixing px value.
[wpdialog width="600"] |
| show |
Open animation.
[wpdialog show="drop"] |
| hide |
Animation when dialog is closed.
[wpdialog hide="explode"] Click here for the values. |
| modal |
[wpdialog modal="true"] makes an black transparent overlay appear. |
| auto_open |
When set to false, dialog is not opened at page load. Instead a button is placed that can be clicked at any time to open the dialog. |
| openlabel |
Can only be used with the above option, auto_open. Defines the label of the button. |
position |
Position of the dialog.
[wpdialog position="bottom"]. Accepted values top, bottom, left, right |
post |
ID of the post that is to be loaded into the dialog.
[wpdialog post="1175"] |
openlabel |
Can only be used with the above option, auto_open. Defines the label of the button. |
before_post |
This appears before the post |
after_post |
This appears after the post |