Custom User Profile Photo
A more flexible way to attach and display a photo for a WordPress user profile.
Mit Vorsicht verwenden
Custom User Profile Photo works, but test it on a staging site before relying on it in 2026. It runs on 4K+ sites, is rated 4.4/5 and was last updated 10 years ago, and scores 43/100 on our health check.
- Momentum — downloads up 28.8% vs the previous 30 days
- Kein Update in 9 Jahren
- Only tested up to WordPress 4.7 (latest is 7.1)
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Custom User Profile Photo stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| custom profile photo | >100 |
| custom profile picture | >100 |
| profile photo | >100 |
| profile picture | >100 |
| user profile | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.4 from 26 reviews
About Custom User Profile Photo
From the official readme · v0.5.3Beschreibung
A more flexible way to attach and display a photo for a WordPress user profile.
Some users might not have or want to have a gravatar account or other universal avatar account. They simply may want to use a one-time specified photo to represent them on your WordPress site. This plugin solves that use case.
With the ability to upload a photo to a user profile via the WordPress Media Uploader or by specifying an external URL to an image, your users and/or authors can have a personalized photo specific to your website.*
This plugin will add a custom set of fields to the user profile page which will allow for the use of a custom profile photo.
You can add/change/edit uploaded photos directly from the user profile page. The external option allows you to provide a URL to the external image or remove it.
As of v0.4, the plugin now filters the get_avatar() function found in most WordPress themes.
Simply go to the users section and select a user or select “Your Profile” depending on your permission level. The new fields are added to the bottom of the user profile page. Choose which type of photo you want to use. Upload an image or add an external url. Then press the Update Profile button.
If you require a customized approach or your theme does not support the get_avatar() hook, use the example below.
To retrieve the photo on the front-end use the following example on your template page(s).
<?php
// Retrieve The Post's Author ID
$user_id = get_the_author_meta('ID');
// Set the image size. Accepts all registered images sizes and array(int, int)
$size = 'thumbnail';
// Get the image URL using the author ID and image size params
$imgURL = get_cupp_meta($user_id, $size);
// Print the image on the page
echo '<img src="'. $imgURL .'" alt="">';
?>
You will need to place the code above in each area of your theme where you wish to add and retrieve your theme’s custom avatar image. This can include but is not limited to single.php, page.php, and comments.php.
*Future Updates to this plugin include allowing other roles to access this feature, a settings page to allow a custom default image and other options.
Übersetzungen
- English – default, always included
- Niederländisch
- Hungarian
- Spanisch
Credits
Thanks to Olaf Lederer, Harkály Gergő, sqhendr, SOMTIJDS, David Pérez
Installation
- Upload
custom-user-profile-photofolder to the/wp-content/plugins/directory - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
- Place
<?php get_cupp_meta($user_id, $size); ?>in your templates
Änderungsprotokoll
Addressed an issue where an object being passed into cupp_get_user_by_id_or_email could potentially be the WP_Comment object.
0.5.3
- Addressed an issue where an object being passed into
cupp_get_user_by_id_or_emailcould potentially be the WP_Comment object.
0.5.2
- Fixed issue with a PHP warning when getting the user with the WP_User object.
0.5.1
- Fixed issue with
update_user_attribute.
0.5
- Major Update – please be sure to backup your site and db.
- Replaced
update_user_metawithupdate_user_attributeper WordPress VIP Standards. - Replaced
get_home_urlwithget_site_urlfor users where the edit image link was returning a 404. Credit: SOMTIJDS - Fixed textdomain loading issue.
- Added Spanish translation. Credit: David Pérez
- Updated and formatted code per PHPCS. Credit: jmichaelward
- Refactored multiple functions and variables for simplicity and compatibility. Credit: jmichaelward
0.4
- Major Update – please be sure to backup your site and db.
- The plugin now overrides the WordPress avatar by filtering the get_avatar() hook.
- The get_cupp_meta() function still exists and can be used to customize the output (this will eventually be deprecated).
0.3
- Changed the function which gets the attachment post ID by GUID to the WordPress core function attachment_url_to_postid() for better reliability. (Props to sqhendr).
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
Custom User Profile Photo: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Custom User Profile Photo free?
Yes. Custom User Profile Photo is free to download and use from the official WordPress.org plugin directory.
Is Custom User Profile Photo safe to use in 2026?
Custom User Profile Photo works, but test it on a staging site before relying on it in 2026. It runs on 4K+ sites, is rated 4.4/5 and was last updated 10 years ago, and scores 43/100 on our health check.
How many websites use Custom User Profile Photo?
Custom User Profile Photo is active on 4K+ WordPress websites and has been downloaded 152,942 times since it launched in November 2013. It was downloaded 630 times in the last 30 days.
Does Custom User Profile Photo work with WordPress 7.1?
Custom User Profile Photo is officially tested up to WordPress 4.7.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Custom User Profile Photo last updated?
The latest version, 0.5.3, was released on May 24, 2017 (10 years ago).
Who makes Custom User Profile Photo?
Custom User Profile Photo is developed and maintained by Vincent Listrani.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte





