You can automatically insert addresses into posts, pages, or text widgets by pasting in this shortcode:
The shortcode outputs any addresses you have entered in the Addresses > All Addresses menu.
Arguments tweak how the addresses display. You can add multiple arguments within the same shortcode:
[lxb_ci_shortcode exclude=1985 format="secondary" num_cols=2]
These are the arguments you can add to the shortcode:
Display a single address by specifying an address ID. Find the address post ID, then add it to the id argument:
Addresses can display as two different formats, Primary and Secondary. Each format can output distinct address fields or display fields in different orders.
This is helpful when you want to display certain fields on your Contact page and other fields in your footer. For example, the Primary format can display an office fax number while the Secondary format omits it. To specify which fields are displayed in each format, submit a support request.
Without a format argument, the shortcode displays the Primary format. To display the Secondary format, use:
If you add multiple addresses, you may want to display them in columns on a post or page. Specify the number of columns with this argument:
Without the argument, addresses display in a single column.
If you have added a picture for an address with the Featured Image menu, adjust the size with the image_size argument:
Exclude specific addresses by inserting the post IDs. For example, use this argument if you have two addresses saved, but want to display only one address on your Contact page.