Embed Snippet on Your Site
MemberPress: Display Corporate Account Logo for Sub-Users
This code snippet allows the custom logo to be displayed as the parent corporate account’s logo for the sub-account users in MemberPress.
The logo image needs to be collected using a MemberPress “File Upload ”custom field added to the parent corporate account registration or account forms. The custom field can be created at Dashbaorad > MemberPress > Settings > Fields tab.
The sample code below uses a custom field named “Logo” with the mepr_logo slug, to collect the logo image. The code must be adjusted to use the correct field slug. Thus, if the custom field used to collect the logo image has a different name, the mepr_logo field slug must be replaced with the slug of that field on this line:
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments