WordPress.org

България

  • Теми
  • Разширения
  • Новини
  • Поддръжка
  • За WordPress
  • Превод на български
  • Slack
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

author_avatar

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Това разширение не е обновявано повече от 2 години. Може вече да не се поддържа и да има проблеми със съвместимостта при използването му на по-нови версии на 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));

Отзиви

There are no reviews for this plugin.

Сътрудници и разработчици

“author_avatar” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници
  • Guillaume

Превеждане на “author_avatar” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез 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

Поддръжка

Имате да кажете нещо? Имете нужда от помощ?

Разглеждане на форумите за поддръжка

Дарение

Бихте ли желали да подкрепите успеха на разширението?

Направете дарение за това разширение

  • За нас
  • Новини
  • Хостинг
  • Поверителност
  • Showcase
  • Теми
  • Разширения
  • Макети
  • Learn
  • Поддръжка
  • Developers
  • WordPress.tv ↗
  • Включете се
  • Events
  • Donate ↗
  • Five for the Future
  • 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
  • Посетете нашия профил в Instagram
  • Посетете нашия профил в LinkedIn
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Кодът е поезия.