Skip to main content

Contributor

info

Requires the “Contributor” module.

Visible#

contributor.visible

Is the contributor public?

Name#

contributor.name

Public name of the contributor. If no public name is set, it defaults to the real name.

Real name#

contributor.realname

You should use contributor.name as display name.

Nickname#

contributor.nickname

ID#

contributor.id

URI#

contributor.uri

Public name#

contributor.publicname

You should use contributor.name as display name.

Gender#

contributor.gender

Either female, male, none or null (not configured).

Role#

contributor.role

A role is only available for episode.contributors and podcast.contributors, not if you access the global contributors directly.

Group#

contributor.group

A group is only available for episode.contributors and podcast.contributors, not if you access the global contributors directly.

Comment#

contributor.comment

Avatar image#

contributor.avatar

Dimensions default to 50x50px. Change it via parameter:contributor.avatar(32)

To render an HTML image tag: {% include '@contributors/avatar.twig' with {'avatar': contributor.avatar} only %} or {% include '@contributors/avatar.twig' with {'avatar': contributor.avatar, 'size': 150} only %}

Email#

contributor.contactemail

Email address for internal use

Episodes#

contributor.episodes

Episodes with this contributor. Filter and order episodes with parameters:

  • group: Filter by contribution group. Default: ''.
  • role: Filter by contribution role. Default: ''.
  • post_status: Publication status of the post. Defaults to publish
  • order: Designates the ascending or descending order of the orderby parameter. Defaults to DESC.
    • ASC - ascending order from lowest to highest values (1, 2, 3; a, b, c).
    • DESC - descending order from highest to lowest values (3, 2, 1; c, b, a).
  • orderby: Sort retrieved episodes by parameter. Defaults to publicationDate.
    • publicationDate - Order by publication date.
    • recordingDate - Order by recording date.
    • title - Order by title.
    • slug - Order by episode slug.
    • limit - Limit the number of returned episodes.

see episode

Services#

contributor.services

List of service profiles

Parameters:#

  • category: (optional) social, donation or all. Default: all
  • type: (optional) Filter services by type. List of all service types: 500px, about.me, amazon wishlist, app.net, auphonic credits, bandcamp, bitbucket, bitcoin, deviantart, diaspora, dogecoin, dribbble, email, facebook, flattr, flickr, foursquare, generic wishlist, github, gittip, google+, instagram, jabber, last.fm, linkedin, litecoin, openstreetmap, orcid, patreon, paypal, miiverse, pinboard, pinterest, playstation network, researchgate, scous, skype, soundcloud, soup, steam, steam wishlist, thomann wishlist, tumblr, twitch, twitter, vimeo, website, xbox live, xing, youtube

Example:#

{% for service in contributor.services({category: "social"}) %}
<a target="_blank" title="{{ service.title }}" href="{{ service.profileUrl }}">
{{ service.image.html({width: 20}) }}
</a>
{% endfor %}

Flattr#

Username#

contributor.flattr

URL#

contributor.flattr_url When on a WordPress page, it returns the URL for the person. Otherwise a URL for that person in this specific episode is generated.

Affiliation#

Organisation#

contributor.organisation

Department#

contributor.department

Jobtitle#

contributor.jobtitle