Question
I want to add bootstrap img-responsive and img-rounded classes to avatar image when displaying one. But for some reason the class is not displayed when using get_avatar. By WordPress codex there is an attributes list that you can use in get_avatar ...
0
, 2 months 0 Answers 49 views

Question
I want to show avatar from the post author. I use Ultimate Members and want to show the avatars that are defined via UM. <?php global $post; $url = get_avatar_url( $post, array( 'size' => 48 )); $img = '<img alt="" src="'. $url .'">'; echo $img; ?> But ...
0
, 4 months 0 Answers 32 views