Skip to Content
Core ConceptsOverview

Core Concepts

Understanding these concepts will help you get the most out of Foir.

Content Structure

Entities

Everything in Foir is an entity. Pages, menus, blog posts, product descriptions - they’re all entities with different schemas. Each entity has fields that hold your content, and a version history so you can track changes and publish when ready.

Field Types

Fields are the building blocks of your content. Use text fields for headlines, rich text for body content, image fields for media, and more. You can also create custom field types for your specific needs.

Inline Schemas

Create reusable content blocks by defining schemas that can be embedded anywhere. For example, create a “Hero Banner” with heading, image, and CTA fields, then use it on any page.

Personalization

Variants

Serve different content to different audiences. Create a mobile variant with simplified content, a VIP variant with exclusive messaging, or regional variants with localized offers.

Targeting

Define rules that determine which variant to show. Target by device type, user segments, or any custom context you define.

Content Delivery

Routing

Define how your content URLs are structured. Create static paths like /about, dynamic paths like /blog/[slug], or localized paths like /en/about.

Next Steps

Last updated on