WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Vicky Arulsingam v1.6.0

Post Avatar

Choose an avatar from a pre-defined list to include in a post.

Post Avatar

The facts

Rating
5★ from 1
Active installs
100+
Price
Free
Last updated
23 Aug 2018
Added
May 2007
Requires WP
3.9
Tested up to
WP 4.9.31
Requires PHP
5.6.3
Downloads
88,435

Our analysis

AI-assisted

Post Avatar is a WordPress plugin that allows authors to select an image from a pre-defined list while editing posts. The selected image is then displayed alongside the post, similar to userpics on Livejournal. This plugin is designed for users who want to enhance their posts with custom images without requiring extensive technical knowledge.

The plugin supports various image formats and allows for customization of how avatars are displayed using HTML and CSS. It also provides hooks for advanced users to further tailor the display of avatars within their themes.

Best for: This plugin suits WordPress site owners looking to add custom images to their posts easily.

What it does well

  • Allows easy selection of images in the Post Editor
  • Supports multiple image formats: .jpg, .jpeg, .gif, .png
  • Flexible customization options for avatar display
  • Hooks into standard WordPress filters for integration

Where it falls short

  • Limited information on support and updates since August 2018
  • Directory score indicates potential issues with the plugin

Verdict

Post Avatar offers a straightforward way to enhance posts with custom images, but its age and directory score may raise concerns for some users.

From the developer

Vicky Arulsingam's own description of Post Avatar, lightly tidied.

Allow authors to select an image from a pre-defined list while in the Post Editor screen. This image will be displayed together with a post.

Post Avatar is similar in concept to Livejournal userpics wherein authors choose images uploaded by the site owner. Developed with Dominik Menke.

Features

  • Easy selection of images from within the Post Editor screen.
  • Scans images in sub-directories of the image option folder.
  • Allows the following file types: .jpg, .jpeg, .gif and .png.
  • Flexible with customizing avatar display.
    • Display avatars using the default HTML/CSS tags.
    • HTML/CSS tags can be edited from with the Settings screen.
    • Use template tags and custom filters within themes for advanced customization.

    Bug Submission and Forum Support

    WordPress Forum

    Post Avatar home page

    Please Vote and Review

    Your votes and feedback are greatly appreciated. Thanks.

    Advanced Customization

    For Front End Display

    By default, the plugin hooks into the following filters: the_content() and the_excerpt().

    OVERRIDE HTML DISPLAY USING FILTER HOOK: gklpa_the_postavatar

    The gklpa_the_postavatar filter takes two parameters:

    1. $post_avatar_text – Original HTML display

    2. $post_avatar – Post Avatar data in array format. The keys are:

      avatar_url: The URL to the image        
      show_image_dim: 1 indicates to show image dimensions, 0 to hide them                
      image_height: integer value of image height or null if image dimensions is turned off               
      image_width: integer value of image width or null if image dimensions is turned off             
      post_id: ID of current post             
      post_title: Post title for the image attribute              
      image_name: Image file name
      

    Example: Display a default image if no avatar is selected

    Read the full description on the official page →

Tagged as