tags entryauthorlink - openmelody/melody GitHub Wiki

EntryAuthorLink

Outputs a linked author name suitable for publishing in the 'byline' of an entry.

Attributes:

  • new_window

    If specified, the published link is given a target attribute of '_blank'.

  • show_email (optional; default "0")

    If set, will allow publishing of an email address if the URL field for the author is empty.

  • spam_protect (optional)

    If specified, this will apply a light obfuscation of any email address published, by encoding any characters that will identify it as an email address (:, @, and .) into HTML entities.

  • type (optional)

    Accepted values: url, email, archive. Note: an 'archive' type requires publishing of "Author" archives.

  • show_hcard (optional; default "0")

    If present, adds additional CSS class names to the link tag published, identifying the link as a url or email address depending on the type of link published.

  • Categories: Appendix: Template Tags
  • Tags: function
⚠️ **GitHub.com Fallback** ⚠️