Outputs information about the post author. If ID or Slug is provided, outputs the information about author of that particular post.
Short Code
[scf-post-author]
Attributes
Attribute | Description | Default Value | |||||||||||||||||||||||||||||||||||||||||||
id |
ID of the target post. | Optional | – | ||||||||||||||||||||||||||||||||||||||||||
slug |
The slug of the target post. This takes precedence over ‘id’ attribute. If you use ‘id’ and ‘slug’ attribute, the ‘id’ attribute is ignored. | Optional | – | ||||||||||||||||||||||||||||||||||||||||||
type |
See get_the_author_meta() in WordPress Codex for more supported information types.
Following is a list of available types in plugin GUI for short code:
|
Optional | display_name |