Kontent.ai
Copyright © 2023 Kontent.ai. All rights reserved.
  • Web
  • Privacy policy
  • Cookies policy
  • Consent settings
  • Security
  • GDPR
  • Documentation
  • API reference
  • Product updates
Kontent.ai Learn
  • Plan
  • Set up
  • Model
  • Develop
  • Create

Link authors to articles

Is this page helpful?
Complete and continue
  • Sign in
  • Jan Cerman
    3 minutes
    Create relationships between articles and their authors to show who wrote what. The easiest way to do this is by modeling your articles and authors as separate content types.After a few setup steps, you use a dedicated linked items element to link authors to articles they wrote and create a relationship between the authors and their articles.

    1. Prepare the content model

    Before you can link authors to their articles, you need to:
    • Create a content type for authors.
    • Add a linked items element to the content type for articles.
    After you complete these steps, you’ll be ready to create a content item for each author. Then, you can start adding authors to their articles as linked items.

    Create a content type for authors

    Create a new content type, name it Author, and add elements for whatever information you want to keep in authors’ profiles. Most likely, their name, photo, short bio, and possibly a social media profile link.
    • Use text elements for the author’s name and social media link.
    • Use an asset element for the author’s profile photo.
    • Use a rich text element for the author’s bio.

    Adjust the content type for articles

    Secondly, make space for authors in your articles: add a linked items element to the article content type to enable adding authors as linked items.

    2. Create content items for authors

    Once you have the content model ready, create the authors’ content items. Each author is a separate content item.  For clarity, we suggest using authors’ names to name their respective content items.

    3. Add authors to articles

    The last step is to link authors to articles:
    1. In Content & assets, open an article for editing.
    2. Go to the linked items element for authors.
    3. Select an appropriate content item representing the author of the article.
    What's next?
    Integrate forms or model and implement them on your own
    Online forms are everywhere. Contact forms, newsletter sign-ups, quote requests, surveys, order forms, and so on. Opposed to most traditional web CMSs, headless CMSs focus on content. You typically won’t find a form builder within them, giving you the power to set it according to your needs.
    • Overview
    • Intro to content modeling
    • Creator’s role in content modeling
    • Before you model content
    • Create your first content model
    • Master content modeling
    • Master modular content
    • Master taxonomies
    • Master metadata
    • Get inspiration from others
    • Maintain your model
    • Content modeling checklist
    In this example, the author Jane Doe is connected to the article The Origin of Coffee.
    • “Missing” CMS features
    • Content formatting
    • Curated content
    • Link authors to articles
    • Forms
    • Streamline information
    • Displaying locations
    • Social media posts in articles
    • Code samples in articles
    • Bulk publishing with taxonomies
    • App configuration
    Best practices
    • Limit the element to only accept items of the Author type. This helps to prevent mistakes like linking another article instead of an author.
    • Make the element required so that your content creators don’t forget to add authors to articles.
  • 1. Prepare the content model
  • 2. Create content items for authors
  • 3. Add authors to articles