This shortcode pulls up any piece of information (contact details, custom fields, etc.) from the user’s affiliate’s Infusionsoft contact record. Please note that in order for this shortcode to work, both the affiliate and referred user must have a WordPress account.
To show first name you would use:
To show first name and last name with one space between them you would use:
[memb_referral_contact fields=FirstName,LastName separator=" "]
Contact Record Field Examples:
How to list an Infusionsoft custom field in a shortcode
Usage: How to list custom field named ‘X’:
Usage: How to list custom field named ‘Price-Range’:
Examples of Post Processing:
[memb_referral_contact fields=firstname txtfmt=strtolower,ucwords]
[memb_referral_contact fields=firstname,lastname txtfmt=strtolower,ucfirst]
[memb_referral_contact fields=firstname,lastname txtfmt=strtolower,ucwords]
[memb_referral_contact fields=firstname txtfmt=strtoupper,str_rot13]
[memb_referral_contact fields=FirstName,LastName separator=" " txtfmt=ucfirst]
[memb_referral_contact fields=FirstName,LastName separator=" " txtfmt=sanitize_title]
[memb_referral_contact fields=FirstName,LastName separator=" " txtfmt=sanitize_title,strtoupper]
[memb_referral_contact fields=FirstName,LastName separator=" " txtfmt=sanitize_title,md5]
capture: Capture the output of the shortcode and route it to a variable for later use. (?)
date_format: The formatting to use for your date field. You can read more about the date formatting options here.
fields: A comma separated list of fields from the Contact table. You can find a list of fields and instructions on how to find the names of your custom fields here.
separator: The string to use to separate the list of fields when output. The default separator is a single space.
txtfmt: A comma separated list of text processing functions to be used to post process the contact fields. (?)
For a full list of standard contact fields you can refer to these tables: https://developer.infusionsoft.com/docs/table-schema/.
For a full list of custom contact fields, you can find this list in your application. Fields that you have marked in the Sync Optimizations to ignore, will not be available.
Memberium Membership Site Workshop
October 10th-12th, 2018 in Phoenix, Arizona
Get your Memberium site and Infusionsoft app fully implemented in 3 days. Save $200 OFF your ticket until the end of Monday, September 17th!