The Aura Authors Plugin for Grav CMS enables you to store author bios in a centrally managed repository and have them displayed across various pages of your site.
Go to file
matt-j-m 225ff1bd4e Fixed some form styling 2020-05-22 15:57:28 +10:00
admin Fixed some form styling 2020-05-22 15:57:28 +10:00
assets Dedicated Authors admin panel, optimised use of event hooks, updated documentation 2020-05-15 13:00:41 +10:00
blueprints Dedicated Authors admin panel, optimised use of event hooks, updated documentation 2020-05-15 13:00:41 +10:00
templates/partials Initial commit 2020-02-29 15:45:04 +10:00
.gitattributes Initial commit 2020-02-29 15:45:04 +10:00
CHANGELOG.md Initial commit 2020-02-29 15:45:04 +10:00
LICENSE Initial commit 2020-02-29 15:45:04 +10:00
README.md Dedicated Authors admin panel, optimised use of event hooks, updated documentation 2020-05-15 13:00:41 +10:00
aura-authors.php Fixed some form styling 2020-05-22 15:57:28 +10:00
aura-authors.yaml Initial commit 2020-02-29 15:45:04 +10:00
blueprints.yaml Dedicated Authors admin panel, optimised use of event hooks, updated documentation 2020-05-15 13:00:41 +10:00

README.md

Aura Authors Plugin

The Aura Authors Plugin for Grav CMS enables you to store author bios in a centrally managed repository and have them displayed across various pages of your site.

Aura Authors Plugin for Grav - Demo

Features

  • Easily manage author bios via the Grav admin interface
  • Central repository ensures that a single change to an author's bio will automatically update it across multiple pages
  • Optionally include author's image and links to social media accounts such as Twitter, LinkedIn etc.
  • Use the included mobile and desktop responsive styling or provide your own
  • Supports author taxonomy type for page collections based on author's individual taxonomy label

Installation

It is recommended to install Aura Authors directly through the Admin Plugin by browsing to the Plugins tab and selecting Add.

Configuration

  • Enter author details via the Authors section of the Admin Plugin.

  • Copy the following code snippet to the relevant Twig template within your theme, at the place where you would like the author bio to be displayed.

    {% include 'partials/author-bio.html.twig' ignore missing %}
  • Once an author is defined at the page level (see Usage below) the relevant author bio will now be displayed on that page (provided it uses the template updated above). Alternatively if you do not have access or do not wish to edit the theme you can include the code snippet directly within a page via the page editor. For this option to work you will need ensure Twig processing is enabled either at the page level (Page Editor > Advanced > Overrides > Process) or the site level (Configuration > System > Content > Process).

  • Optionally customise the layout of the author bio by copying the included file templates/partials/author-bio.html.twig into the same location under your theme and editing it. Default styling can be disabled via the Plugin configuration panel if you wish to provide your own.

Usage

Authors can be selected per page via the page editor, on the Aura tab. The list of authors will be automatically populated with author records you create via the Authors menu item.

Credits

Includes a subset of the IcoMoon - Free icon pack.