Adding author information to Pages

There are times, such as a blog post, where you wish to display information about the author. The user who created the page is automatically assigned as the author, but this may be changed at any time within the Page's settings dialogue.

The author information you wish to show may include:

  • the author's name
  • their position and/or department within your organisation
  • a photo/avatar for the user
  • a short biography
  • links to the author's social media channels
  • a link to the author's full biography or website

Please respect the privacy of content authors by only showing relevant information. You should avoid displaying personal contact information such as personal phone numbers, email or postal addresses.

Accessing author information

The Page.author() method returns either Null value or a Contact object containing the author's information. 

<?ev if (page.author) { ?>
    <div class="author">
        <h3>Written by {{ page.author }}</h3>
        <p>{{ page.author.biography }}</p>
        <p><a href="{{ page.author.website }}">Check out my website</a></p>
    </div>
<?ev } ?>

Further reading

COVID-19 NOTICE – Business as Usual
Evance continues to provide all services and support throughout this difficult period. See our full statement here .