Address
- Description:
- Displays an address field. In order to enable this field, you need Toolset Maps plugin.
- Display in WP admin:
- Display in front-end:
- Will display the address as text or the latitude/longitude coordinates of the address
- attributes:
-
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
format:
Use the literals FIELD_ADDRESS, FIELD_LATITUDE and FIELD_LONGITUDE in the format to output the address
e.g. format=”FIELD_ADDRESS: FIELD_LATITUDE, FIELD_LONGITUDE”
-
output:
'raw' | 'html' | 'normal'(default)
More Repeater attributes, User attributes, Term attributes, Usage examples
Audio
- Description:
- Audio will allow users to upload and play an audio clip on your site.
The Types audio field implements the audio feature of WordPress.
You must be running WordPress 3.6 and above for the audio field to be available. - Display in WP admin:
- Display in front-end:
- attributes:
-
preload:
'on' | 'off' (default)
Media will begin downloading as soon as the page is loaded. -
loop:
'on' | 'off' (default)
Media will loop to beginning when finished and automatically continue playing -
id:
"$parent" | "post-id" | "$custom post name"
-
autoplay:
'on' | 'off' (default)
Media will start playing as soon as the page loads.
-
preload:
'on' | 'off' (default)
More Repeater attributes, User attributes, Term attributes, Usage examples
Checkbox
- Description:
- Checkbox can be used to get binary, yes/no responses from a user.
- Display in WP admin:
- Display in front-end:
- If checkbox is checked, the value 1 will be returned.
If checkbox is not checked, no value will be returned.
If checkbox is not checked, and “Save 0 to the database” is set for the control, 0 will be returned.
If the state attribute is used, then the value between the shortcodes will be returned. - attributes:
-
state:
’unchecked’ | ‘checked’
If true then the value between the [types][/types] will be output.For checkboxes state is only valid if option is specified -
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
state:
’unchecked’ | ‘checked’
More Repeater attributes, User attributes, Term attributes, Usage examples
Checkboxes
- Description:
- Displays a checkbox group to the user. Checkboxes can be used to get binary, yes/no responses from a user.
- Display in WP admin:
- Display in front-end:
- With no attributes set, checkboxes will return a comma separated list of values stored for each checked checkbox.
- attributes:
-
state:
’unchecked’ | ‘checked’
If true then the value between the [types][/types] will be output.For checkboxes state is only valid if option is specified -
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
separator:
text or html tags to insert between each field
-
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
option:
"zero-based index number"
e.g. option=”0″ Will output the value for the option number specified. For checkboxes, will display the checked valued of the nth checkbox in the group. -
id:
"$parent" | "post-id" | "$custom post name"
-
state:
’unchecked’ | ‘checked’
More Repeater attributes, User attributes, Term attributes, Usage examples
Colorpicker
- Description:
- Displays a interactive colorpicker to the user to select a color value.
- Display in WP admin:
- Display in front-end:
- The hexadecimal RGB color code.
- attributes:
-
id:
"$parent" | "post-id" | "$custom post name"
-
id:
"$parent" | "post-id" | "$custom post name"
More Repeater attributes, User attributes, Term attributes, Usage examples
Date
- Description:
- Displays a datepicker to the user with optional ‘hour’ and ‘minute’ selection.
- Display in WP admin:
- Display in front-end:
Date can be displayed as a formatted date time text or as a calendar.- attributes:
-
style:
"text" | "calendar"
“calendar” will show the current month and highlight the current day on the page. -
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
format:
any valid WordPress date format
WordPress date and time formats. Defaults to the Date Format in site General Settings.
-
style:
"text" | "calendar"
- attributes (html):
- class The class attribute will only be processed if the calendar style is selected.
More Repeater attributes, User attributes, Term attributes, Usage examples
- Description:
- Displays a email input to the user.
- Display in WP admin:
- Display in front-end:
- Will create a mailto email link on your site.
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
- attributes (html):
- class | style | title Html attributes all take string values and will be added unchanged to the anchor link element. Html attributes will not be added if output=”raw”.
More Repeater attributes, User attributes, Term attributes, Usage examples
Embedded media
- Description:
- Embedded media will allow users to upload and display/play a wide range of embedded content on your site.
The Types Embedded media field implements the embedded content feature of WordPress.
You must be running WordPress 3.6 and above for the embedded media field to be available.
If width is specified and less than $content_width, the width will be used, otherwise $content_width will be used. - Display in WP admin:
- Display in front-end:
- attributes:
-
width:
image width (e.g. 300)
Image will be resized before being sent to the client. width and height will be ignored if size is set. For Embedded media the width and height are maximum values and may be ignored if $content_width is set for the theme. -
id:
"$parent" | "post-id" | "$custom post name"
-
height:
image height (e.g. 300)
Image will be resized before being sent to the client. width and height will be ignored if size is set. For Embedded media the width and height are maximum values and may be ignored if $content_width is set for the theme.
-
width:
image width (e.g. 300)
More Repeater attributes, User attributes, Term attributes, Usage examples
File
- Description:
- Display a file upload dialog and provide a link to the file on your site.
- Display in WP admin:
- Display in front-end:
- Will display a link to an uploaded file or the URL of the file.
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
- attributes (html):
- class | style | title html attributes all take string values and will be added unchanged to the file link element.
More Repeater attributes, User attributes, Term attributes, Usage examples
Image
- Description:
- Image will let users upload and display an image on their site
- Display in WP admin:
- Display in front-end:
- HTML <img /> tag for resized image.If output=”raw”, url of the image will be returned.If url=”true”, the url of the resized image will be returned.
- attributes:
-
width:
image width (e.g. 300)
Image will be resized before being sent to the client. width and height will be ignored if size is set. For Embedded media the width and height are maximum values and may be ignored if $content_width is set for the theme. -
url:
'false'(default) | 'true'
true=output the url of the image instead of the html img tag.Works with the size attribute to output the url of the re-sized image -
size:
custom image size | 'full' | 'large' | 'medium' | 'thumbnail'
width and height will be ignored if size is set. -
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
resize:
'crop' | 'proportional' | 'stretch' | 'pad'
If pad is specified, then the padding_color attribute can be used to set the color or transparency of the padding. -
proportional:
'true'(default) | 'false'
false=image will be cropped to specified height and width. Overridden if size is set. -
padding_color:
hex color code | 'transparent'
Transparent works best with png format images. For image fields, padding_color only is applied if resize=”pad” -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
no_protocol:
"true" | "false" (default)
Display URL without protocol “http:// and https://”. -
id:
"$parent" | "post-id" | "$custom post name"
-
height:
image height (e.g. 300)
Image will be resized before being sent to the client. width and height will be ignored if size is set. For Embedded media the width and height are maximum values and may be ignored if $content_width is set for the theme. -
align:
"center" | "left" | "none"(default) | "right"
Will add one of the WordPress align classes to the img element (“alignright”, “alignleft”, “aligncenter”). Your theme should define these classes. Read more about aligning images.
-
width:
image width (e.g. 300)
- attributes (html):
- alt | class | style | title
HTML attributes all take string values and will be added unchanged to the img element.
For the alt and title attributes, you can also use placeholders to output the values of standard image fields added in WordPress: %%TITLE%%, %%ALT%%, %%CAPTION %%, and %%DESCRIPTION%%.
More Repeater attributes, User attributes, Term attributes, Usage examples
Number
- Description:
- Displays a text input to user but forces numeric value to be entered.
- Display in WP admin:
- Display in front-end:
- Raw DB data or HTML formatted output. Also predefined values can be used to set rendering – FIELD_NAME and FIELD_VALUE. This works similar to sprintf() PHP function.
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
format:
Use the literals FIELD_NAME and FIELD_VALUE in the format to ouput the name and value
e.g. format=”FIELD_NAME : $ FIELD_VALUE”
-
show_name:
'false'(default) | 'true'
More Repeater attributes, User attributes, Term attributes, Usage examples
Phone
- Description:
- Displays a text input for user, phone behaves the same as single line input with no additional validation.
- Display in WP admin:
- Display in front-end:
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
More Repeater attributes, User attributes, Term attributes, Usage examples
Radio
- Description:
- Radio buttons allow users to select just one option from a group of options.
- Display in WP admin:
- Display in front-end:
- Will display the title for the selected radio option
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
More Repeater attributes, User attributes, Term attributes, Usage examples
Select
- Description:
- Displays a select box to the user.
- Display in WP admin:
- Display in front-end:
- The option title will be output, or if set, a specific value.
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
More Repeater attributes, User attributes, Term attributes, Usage examples
Skype
- Description:
- Specify Skype id and button style and display an interactive Skype button on your site.
- Display in WP admin:
- Display in front-end:
Displays a Skype button, optionally with status to allow uses to place a Skype call from your site.- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
button_style:
"btn1" | "btn2" | "btn3" | "btn4" | "btn5" | "btn6"
Will render one of the Skype button styles
-
show_name:
'false'(default) | 'true'
- attributes (html):
- class class attribute takes a string value and will be added unchanged to the anchor link element.
More Repeater attributes, User attributes, Term attributes, Usage examples
Textarea
- Description:
- Displays a textarea for user input. In the Types interface, this field is called “Multiple lines”
- Display in WP admin:
- Display in front-end:
- Displays multi-line text on your site.
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
More Repeater attributes, User attributes, Term attributes, Usage examples
Textfield
- Description:
- Input and displays a single line text input to the user. In the Types interface, this field is called “Single line”
- Display in WP admin:
- Display in front-end:
- Display a text string on your site.
- attributes:
-
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
show_name:
'false'(default) | 'true'
More Repeater attributes, User attributes, Term attributes, Usage examples
URL
- Description:
- Displays a URL input to the user and validates input.
- Display in WP admin:
- Display in front-end:
- Displays an external or internal clickable link on your site. With output=”raw” just the text of the link will be output.
- attributes:
-
target:
"_blank" | "_self" | "_parent" | "_top" | "framename"
_blank: Opens in a new window or tab. _self: Opens in the same frame as it was clicked. _parent: Opens in the parent frame. _top: Opens in the full body of the window. framename: Opens in a named frame -
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
target:
"_blank" | "_self" | "_parent" | "_top" | "framename"
- attributes (html):
- class | style | title html attributes all take string values and will be added unchanged to the anchor link element.
More Repeater attributes, User attributes, Term attributes, Usage examples
Video
- Description:
- Video will allow users to upload and play an audio clip on your site.
The Types video field implements the video feature of WordPress.
You must be running WordPress 3.6 and above for the video field to be available. - Display in WP admin:
- Display in front-end:
- attributes:
-
width:
image width (e.g. 300)
Image will be resized before being sent to the client. width and height will be ignored if size is set. For Embedded media the width and height are maximum values and may be ignored if $content_width is set for the theme. -
preload:
'on' | 'off' (default)
Media will begin downloading as soon as the page is loaded. -
poster:
'image URL'
The poster image will be displayed while the video is not playing. The image height will be set to match the height of the video container. -
padding_color:
hex color code | 'transparent'
Transparent works best with png format images. For image fields, padding_color only is applied if resize=”pad” -
loop:
'on' | 'off' (default)
Media will loop to beginning when finished and automatically continue playing -
id:
"$parent" | "post-id" | "$custom post name"
-
height:
image height (e.g. 300)
Image will be resized before being sent to the client. width and height will be ignored if size is set. For Embedded media the width and height are maximum values and may be ignored if $content_width is set for the theme. -
autoplay:
'on' | 'off' (default)
Media will start playing as soon as the page loads.
-
width:
image width (e.g. 300)
More Repeater attributes, User attributes, Term attributes, Usage examples
WYSIWYG
- Description:
- Displays a WYSIWYG editor to the user.
- Display in WP admin:
- Display in front-end:
- Allows same input as Post body. Shortcodes, images and other elements get resolved.
- attributes:
-
suppress_filters:
'true' | 'false' (default)
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed, when retrieving the WYSIWYG content. In certain circumstances, plugins using this filter can add duplicated content to the WYSIWYG content – removing the filters can resolve this problem. -
show_name:
'false'(default) | 'true'
show field name before value e.g. My field name: my-field-value -
output:
'raw' | 'html' | 'normal'(default)
‘raw’=display raw data stored in DB, ‘html’=wrap data in HTML -
id:
"$parent" | "post-id" | "$custom post name"
-
suppress_filters:
'true' | 'false' (default)
No hay comentarios:
Publicar un comentario