[umbrella_list_children]
This Applies to
Summary
This shortcode can be used to list out the child users that the parent has added. It displays child user’s First name, last name, email, phone number and also a disconnect button to remove the child user.
Shortcode Examples
[umbrella_list_children]
This will remove the ability for parent users to remove their child users:
[umbrella_list_children can_disconnect=no]
Shortcode Parameters
can_disconnect=yes/no: This parameter allows you to specify whether you want to allow parent users to be able to disconnect (remove) their child users or no. can_disconnect=yes will allow parent users to disconnect child users once they add them, but can_disconnect=no will not allow them.
Merge fields
%%disconnect.button%% – Displays disconnect button
Additional Information
You can also customize the shortcode to show custom fields from a child’s record. Using {{contact.id}} within the shortcode will pull in the child’s Infusionsoft contact ID that can be used in other shortcodes of ours. Here’s an example that would display all the children’s contact IDs and their first names.
[umbrella_list_children] Child Contact Id = {{contact.id}} = [memb_contact contact_id={{contact.id}} fields=firstname]<br> %%disconnect.button%% [/umbrella_list_children]
The content between the shortcode and the closing bracket will be repeated for each child user associated with the parent. For instance, the above would render out like:
Child Contact Id = 125 = Ben
Child Contact Id = 127 = Jacky
Child Contact Id = 129 = Dave
Child Contact Id = 131 = Micah
Here’s one of the styled table examples. Please note that we use [umbrella_ld_course_info] shortcode in the example as well and in case you don’t use LearnDash, you won’t actually need [umbrella_ld_course_info], so you can remove that line:
<style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } tr:nth-child(even) { background-color: #dddddd; } </style> <table> <tr> <th>First</th> <th>Last</th> <th>Email</th> <th>LearnDash</th> <th>Disconnect</th> </tr> [umbrella_list_children] <tr> <td>[memb_contact contact_id={{contact.id}} fields=FirstName]</td> <td>[memb_contact contact_id={{contact.id}} fields=LastName]</td> <td>[memb_contact contact_id={{contact.id}} fields=Email]</td> <td><a href="https://yourwebsite.com/child-progress-page/?contact_id={{contact.id}}"> <input type="button" value="View Progress" /> </a></td> <td>%%disconnect.button%%</td> </tr> [/umbrella_list_children] </table>