Author

Description

  • Type name: author
  • Optional widget
  • Placement type: fixed, auto

Provides data about the author.

Properties

Design [required]

Supported values:

Value Description Demo
left-aligned Content left-aligned preview_small
centered Content centered preview_small
inline Content left-aligned with an alternative compact layout preview_small

FixedPlacement [optional]

Placement name. See Fixed Placements for more information.

If undefined, the widget uses the auto placement logic.

RoundAvatar [optional, default: true]

Round avatar.

AvatarWidth [optional, default: 60]

Avatar width on the page in px. May be smaller than the original image width in Image object.

AvatarHeight [optional, default: 60]

Avatar height on the page in px. May be smaller than the original image height in Image object.

NamePrefix [optional]

Prefix text inserted before author name.

NameUppercase [optional, default: true]

Uppercase author name.

Author [required]

Standard Author object structure to provide the information about the author. Only one author instance supported in this widget.

JSON example

[{
    "Type": "author",
    "Id": "abcABC123",
    "Design": "left-aligned",
    "FixedPlacement": "AbovePost",
    "RoundAvatar": true,
    "AvatarWidth": 60,
    "AvatarHeight": 60,
    "NamePrefix": "by",
    "NameUppercase": true,
    "Author": [{
        "Name": "John Doe",
        "Url": "https://yoursite.com/author/page/", 
        "Description": "Author description text",
        "Image": {
            "Src": "https://yoursite.com/images/author/avatar.jpg",
            "Width": 100,
            "Height": 100,
            "Alt": "Alt text"
        }
    }]
}]

Demo

preview_large

Left-aligned

preview_xxlarge

Centered

preview_xxlarge

Inline

preview_xxlarge