This update enables Tile to be completely configured from the Connections shortcode. Also, the often requested features of being able to configure the card height and width and removing the image are also part of this update. Here are some examples:
To remove the image:
[connections show_image='false'] |
To set the card height and width:
[connections card_width=280 card_height=140] |
Here’s a list of all the shortcode options and their default values that the Tile template enables. You can mix and match these as you need.
- card_width=240
- card_height=150
- enable_website_link=TRUE
- show_image=TRUE
- show_addresses=FALSE
- show_phone_numbers=TRUE
- show_email=TRUE
- show_im=FALSE
- show_social_media=FALSE
- show_birthday=FALSE
- show_anniversary=FALSE
- address_types=NULL
- phone_types=NULL
- email_types=NULL
- image=’photo’
- image_width=NULL
- image_height=NULL
- image_fallback=’block’
- str_image=’No Photo Available’
- str_contact=’Contact’
- str_home_addr=’Home’
- str_work_addr=’Work’
- str_school_addr=’School’
- str_other_addr=’Other’
- str_home_phone=’Home Phone’
- str_home_fax=’Home Fax’
- str_cell_phone=’Cell Phone’
- str_work_phone=’Work Phone’
- str_work_fax=’Work Fax’
- str_personal_email=’Personal Email’
- str_work_email=’Work Email’
- str_visit_website=’Visit Website’
- name_format=’%prefix% %first% %middle% %last% %suffix%’
- contact_name_format=’%label%: %first% %last%’
- addr_format=’%label% %line1% %line2% %line3% %city%, %state% %zipcode% %country%’