This commit is contained in:
Hoang Huu
2019-10-01 14:00:06 +07:00
parent 225def65e2
commit 880961f5e2
3 changed files with 111 additions and 126 deletions

View File

@@ -50,6 +50,7 @@ switch ( $type ) {
break;
}
?>
<div class="opalestate-box-content property-agent-section property-author-v2">
<div class="opalestate-box">
<div class="author-content-box">
@@ -59,5 +60,3 @@ switch ( $type ) {
</div>
</div>
</div>

View File

@@ -6,10 +6,8 @@
$prefix = OPALESTATE_USER_PROFILE_PREFIX;
}
$user_id = $author->ID;
$is_sticky = get_user_meta( $user_id, $prefix . 'sticky', true );
$user_id = $author->ID;
$is_sticky = get_user_meta( $user_id, $prefix . 'sticky', true );
$desciption = get_user_meta( $user_id, 'description', true );
$roles = opalestate_user_roles_by_user_id( $user_id );
@@ -75,7 +73,6 @@
</div>
</div><!-- /.agent-preview -->
<div class="agent-box-meta">
<h4 class="agent-box-title">
<a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $author_name ); ?></a>
@@ -143,11 +140,8 @@
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fab fa-linkedIn"></i></a>
<?php } ?>
</div>
</div><!-- /.agent-box-content -->
</div><!-- /.agent-box-->
</div>
<?php endif; ?>