Ugrás a tartalomhoz
WordPress.org

Magyar

  • Sablonok
  • Bővítmények
  • Hírek
  • Névjegy
    • Történet
    • Követelmények
    • Telepítés
  • Tárhely
  • Frissítés
  • Biztonsági mentés
  • Biztonság
  • WordPress letöltése
WordPress letöltése
WordPress.org

Plugin Directory

author_avatar

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

Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

author_avatar

Szerző: Guillaume
Letöltés
  • Részletek
  • Vélemények
  • Telepítés
  • Fejlesztés
Támogatás

Leírás

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à!

Telepítés

  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.

GYIK

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));

Vélemények

Nincsenek értékelések erről a bővítményről.

Közreműködők és fejlesztők

“author_avatar” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők
  • Guillaume

“author_avatar” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló

1.0

  • Initial Commit

Meta

  • Version 1.0.2
  • Last updated 12 év ezelőtt
  • Active installations 20+
  • WordPress version 3.5.1 vagy magasabb
  • Tested up to 3.8.41
  • Language
    English (US)
  • Tags
    author avatargravatarprofile pictureuser profile
  • Bővített nézet

Vélemények

No reviews have been submitted yet.

Your review

See all reviews

Közreműködők

  • Guillaume

Támogatás

Vélemény? Segítségkérés?

Támogatói fórum megtekintése

Adomány

Szeretnénk támogatni ennek a bővítménynek a fejlődését?

Ha tehetjük, támogassuk ezt a bővítményt

  • Rólunk
  • Hírek
  • Tárhelyszolgatatás
  • Adatvédelem
  • Showcase
  • Sablonok
  • Bővítmények
  • Patterns
  • Tanuljunk
  • Support
  • Fejlesztők
  • WordPress.tv ↗︎
  • Get Involved
  • Events
  • Adományozás ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Magyar

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Facebook oldalunk megtekintése
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
A kód költemény.
The WordPress® trademark is the intellectual property of the WordPress Foundation.