Changeset 3436475
- Timestamp:
- 01/10/2026 09:06:44 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
thim-elementor-kit/tags/1.3.6/inc/elementor/widgets/single-post/author-box.php
r3436462 r3436475 373 373 $user = get_userdata( $user_id ); 374 374 375 $author['avatar'] = get_avatar_url( $user_id, $avatar_args );376 375 $author['display_name'] = $user->display_name; 376 $author['avatar'] = get_avatar( 377 $user_id, 378 300, 379 '', 380 $author['display_name'], 381 array( 'class' => 'author-avatar' ) 382 ); 377 383 $author['website'] = $user->user_url; 378 384 $author['bio'] = $user->description; … … 406 412 <div class="thim-ekit-single-post__author-box__avatar"> 407 413 <?php 408 echo '<' . esc_html( $link_tag ) . wp_kses_post( $link_attr ) . '>'; ?> 409 <img src="<?php 410 echo esc_url( $author['avatar'] ); ?>" alt="<?php 411 echo esc_attr( $author['display_name'] ); ?>"> 412 <?php 413 echo '</' . esc_html( $link_tag ) . '>'; ?> 414 echo '<' . esc_html( $link_tag ) . wp_kses_post( $link_attr ) . '>'; 415 echo $author['avatar']; 416 echo '</' . esc_html( $link_tag ) . '>'; 417 ?> 414 418 </div> 415 419 <?php
Note: See TracChangeset
for help on using the changeset viewer.