replace user avatar with company logo
-
Hi,
on the members-grid.php file I can see this:
if ( $profile_photo ) { ?>
<div class="um-member-photo radius-<?php echo esc_attr( UM()->options()->get( 'profile_photocorner' ) ); ?>">
<a href="<code>user.profile_url</code>" title="<# if ( user.display_name ) { #><code>user.display_name</code><# } #>">
<code>user.avatar</code>
<?php do_action( 'um_members_in_profile_photo_tmpl', $args ); ?>
</a>
</div>
<?php } ?>but instead of using the user.avatar I want to use company_logo
I’ve got this elsewhere:
$um_company_logo = um_user(‘company_logo’);
but I cannot work out how to use the company_logo field instead of the avatar.
Can anyone help please?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.