LearnDash Group Branding
Many LearnDash sites sell to organizations rather than individual users, and in these cases it can often help to make client branding visible to end users. Instead of a multisite solution for rebranding to individual clients, this module makes it easy to show both organization logos (based on the signed-in user) and organization names in the front end.
Please note that all branding options work best on sites where users will only be added to a single LearnDash Group. If multiple groups are added, the logo and list will show all groups and logos for the user, which can have unpredictable results.
LearnDash Group Logo Shortcode
With this module enabled, you can add a custom logo to a LearnDash group page, similar to how you add a featured image to a course. To set a logo, edit (or create) the associated group. On the LearnDash Group edit page, this module adds a new Branding Logo metabox where an image can be set.
Once you associate a custom logo with a group, you can then display the logo on a page by using the shortcode. Depending on the layout of your page, you may want to show the custom logo in a smaller size. This can be accomplished by including the size attribute in your shortcode, for example:
Sizing options include full (default), large, medium, and thumbnail. In most cases it’s best to use a single size for all groups/logos and not worry about the size attribute.
Note: On a group registration page (another module of the Pro Toolkit), the shortcode will display the custom logo for the associated group (even if the user is part of other groups). On other pages, the shortcode will show the logo associated with the current user’s group. If a user belongs to more than one group and each has a custom logo, the shortcode will display all logos.
LearnDash Group List Shortcode
The LearnDash Group List shortcode, if planned effectively, can make your learners feel like they’re completing courses made specifically for their organization. By adding the shortcode to any page, a list of the current user’s groups is output. This can be very powerful when the user is in a single group and the group is named after the organization. As an example, suppose a user is a member of a group called “Microsoft”. If you add “At [uo_group_list], we believe that…” to a page or post, like a LearnDash course page, the user would see, “At Microsoft, we believe that…”. It’s an easy but very effective way to make it seem like courses were customized to specific organizations.
By default, group names are separated by a comma and space e.g., “Group A, Group B”. You can change the separator by including the separator attribute in your shortcode, for example:
[uo_group_list separator=" "]