WordPress.org

Україна

  • Теми
  • Плагіни
  • Новини
  • Підтримка
  • Про
  • Документація
  • Спільнота
  • Завантажити WordPress
Завантажити WordPress
WordPress.org

Plugin Directory

author_avatar

  • Надіслати плагін
  • My favorites
  • Log in
  • Надіслати плагін
  • My favorites
  • Log in

Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

author_avatar

Від автора Guillaume
Завантажити
  • Деталі
  • Відгуки
  • Встановлення
  • Розробка
Підтримка

Опис

Add an upload field in the user profile admin – Don’t want to use gravatar profile picture, or just don’t have one, just download this plugin. It will add a custom field in the user admin with the possibility to upload your own. Once uploaded, it will add the picture url inside the usermeta table so you can easily display it with get_the_author_meta .

Translation ready and already available in French.

  • Easy to use, once activated and your picture uploaded, grab the source url with:

Just add an image tag where you want the picture to be displayed like so:

 <img src="<?php echo $user_meta_image;?>" alt="My Custom user Profile Picture"> 

Et voilà!

Встановлення

  1. Upload “ to the /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. grab the source url with $user_meta_image = esc_attr( get_the_author_meta( 'user_meta_image', get_the_id() ) );. Just add an image tag where you want the picture to be displayed like so: <img src="<?php echo $user_meta_image;?>" alt="My Custom user Profile Picture">
  4. Style as you wish.

Часті питання

What about if i want to use a user profile picture outside of it’s author page?

It’s pretty easy, just change the last parameter “get_the_id()” wjth the id of the user you want to show, as follow:
$user_meta_image = esc_attr(get_the_author_meta(‘user_meta_image’, 1));

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“author_avatar” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники
  • Guillaume

Перекладіть “author_avatar” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0

  • Initial Commit

Мета

  • Version 1.0.2
  • Last updated 11 років тому
  • Active installations 30+
  • WordPress version 3.5.1 або вище
  • Tested up to 3.8.41
  • Language
    English (US)
  • Tags
    author avatargravatarprofile pictureuser profile
  • Розширений перегляд

Оцінки

No reviews have been submitted yet.

Додати свій відгук

See all reviews

Учасники

  • Guillaume

Підтримка

Є що сказати? Потрібна допомога?

Перейти в форум підтримки

Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

Пожертвувати на розвиток плагіна

  • Про нас
  • Новини
  • Хостинг
  • Приватність
  • Вітрина
  • Теми
  • Плагіни
  • Паттерни
  • Навчання
  • Підтримка
  • Розробники
  • WordPress.tv ↗
  • Приєднатися
  • Події
  • Підтримати ↗
  • П'ять для майбутнього
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Україна

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Завітайте на нашу сторінку в Facebook
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Код – це поезія.