Скочи на садржај
WordPress.org

Српски

  • Теме
  • Додаци
  • Новости
  • Подршка
    • Документација
    • Форуми
  • Информације
  • Упутства
  • Речник
  • @wp_sr
  • Организација
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

author_avatar

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

Овај додатак није испробан са последња 3 главна издања Вордпреса.Можда се више не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

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 12 година раније
  • 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

Подршка

Имате нешто да кажете? Потребна вам је помоћ?

Види форум подршке

Донирај

Желите ли да подржите напредак овог додатка?

Донирај овом додатку

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Догађаји
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Српски

  • Visit our X (formerly Twitter) account
  • Посетите наш Bluesky налог
  • Visit our Mastodon account
  • Посетите наш налог на Threads-у
  • Visit our Facebook page
  • Посетите наш Инстаграм налог
  • Visit our LinkedIn account
  • Посетите наш TikTok налог
  • Visit our YouTube channel
  • Посетите наш Tumblr налог
Кôд је поезија.