Tip to get full list of field connections and parameters
Sometimes, especially when you're creating custom post layouts, you need the shortcode and parameters that you can copy and paste in.
There are two ways to find field connection shortcodes and parameters. One is the field connection shortcode reference here in the knowledge base. We maintain that list manually.
Another "dynamic" way is to access the shortcodes and their parameters through an HTML module. This way you can see a full list of field connections regardless of data type.
To find the field connection shortcodes:
- Add an HTML module anywhere a Themer layout.
This is temporary. - Click the plus icon to the right of the text box.
This opens the list of field connections. - Mouse over the field connection. If there is an Insert option, there's a shortcode available.
- Click Insert.
If there are any shortcode options for that field connection, the settings box will display the options, as shown in this screenshot. If there are no options, the field connection shortcode will appear in the HTML module. - If there are shortcode options, choose values and click Save.
Using this example, the shortcode is:[wpbb post:terms_list taxonomy='category' html_list='no' separator=', ' linked='yes']
- Copy the shortcode and delete the HTML module.