![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/metras.v32.1/resources/views/partials/ |
<?php $imageUrl = aq_resize(get_wp_user_avatar_src( $author->ID, 'ctl_avatar' ), 400, 300, true); if(empty($imageUrl)){ $imageUrl = get_wp_user_avatar_src( $author->ID ); } ?> <a class="mb-3 text-decoration-none" href="{{ get_author_posts_url($author->ID) }}"> <img class="card card-img-top p-3" alt="{{$author->display_name}}" src="{!! $imageUrl !!}" /> <div class="card-body text-center"> <h5 class="card-title mb-1">{{$author->display_name}}</h5> <p class="card-text text-small text-muted">{!! get_the_author_meta('description_summary', $author->ID) !!}</p> </div> </a>