Skip to content

Commit

Permalink
Added default profile picture
Browse files Browse the repository at this point in the history
When there is no profile picture uploaded, it will take this image.
  • Loading branch information
redgreenbird committed Apr 11, 2022
1 parent 519279d commit 5500646
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added public/images/empty_profile_picture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/team-member-list-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
get_post_thumbnail_id($post->ID),
'single-post-thumbnail'
)[0]
?? null;
?? PLUGIN_HTTP_PATH . 'public/images/empty_profile_picture.jpg';

// $profile = "Hey hallo
// wie geht es dir
Expand Down

0 comments on commit 5500646

Please sign in to comment.