The table presents a cross-reference to what attribute can be used in what shortcode. Titles link to more info on that item.
template – name of the template to use to display this shortcode. All shortcodes use templates that can be customized and stored with your WP theme.
class – adds a class name to the HTML wrapper element.
fields – comma-separated list of field names to include, in the order given.
*For the “total” shortcode, this attribute defines the names of the fields that will be totaled to calculate the output of the shortcode. The totaling function will attempt to interpret the values as numbers. If you are using fields that need to be totaled, it’s best to store them without denominations or units.
groups – like fields, only the fields are selected for display by the group they are in. Makes managing large numbers of fields easy.
record_id – id of the record to show. Most often, this is used when you need to use a PHP variable to select the record.
action – sets the next page after a form submission, overriding the “thanks page” setting for the signup form. This attribute is used to create multiple-page forms: after submitting, the user is taken to the page named in the “action” attribute.
search – if set to “true” shows the list search control.
sort – if set to “true” shows the list sort control.
orderby – for lists, determines which fields will used to order the list. Several fields can be used: separate multiple field names with commas. The list will be ordered starting with the first field, then each following field.
order – works with orderby to determine the order of the list. Only “asc” or “desc” can be specified, separate multiples with commas.
filter – for the list shortcode, defines a set of filters to use on the list before display. The filters are a series of statements such as:
single_record_link – for the list shortcode, this sets the target page for single record links in the list. Single record links must be configured in the list settings.
display_count – when true, adds a display count caption to a list table. Using a template several values can be shown, including the number of records total and the number records shown per page.
suppress – when set to true, the list display is only shown as a search result. When no search has been performed, such as when the page is first loaded, the list is not displayed.
list_limit – sets the number of items to show per page. Set to “-1” to show all records.
target_instance – when using the search shortcode, it is sometimes necessary to target the search results to a specific instance of the list on the page. For instance, if there are two list shortcodes on a page, each will have an instance number, which can be seen in the HTML as a class name such as “pdb-instance-1” for instance 1. The search shortcode can then target a specific list instance to show it’s results with a number in this attribute.
target_page – formerly known as “action” this is used with the search shortcode to define which page the search results will be shown on. “Action” still works, so if that’s what you’re using, you can leave it.
submit_button – sets the text for the submit button.
readonly_inputs – set this to true if you want fields marked as “readonly” to be shown in the record edit form as disabled form elements instead of plain text.
search_fields – comma-separated list of fields to use in the search field selector dropdown. If there is only one field, the dropdown is not shown, and all searches will be performed on that one field.