Example content model¶
Let's take a look at an example content model for a wine tour site.
Content types¶
Wine tour¶
- Purpose: Represents an individual tour offered by the business.
- Fields:
- Tour name (Text (plain))
- Description (Text (plain, long))
- Content (Formatted text)
- Featured Image (Media)
- Tour duration (Text or Number, e.g., "2 hours")
- Price (Decimal or Text)
- Availability dates (Date range)
- Region (Reference to Wine region taxonomy)
- Included wineries (Reference to Winery content type, multiple values)
- Booking link (Link)
Winery¶
- Purpose: Represents the wineries featured on the tours.
- Fields:
- Winery Name (Text (plain))
- Description (Text (plain, long))
- Content (Formatted text)
- Featured Image (Media)
- Location (Address or Geofield)
- Website URL (Link)
- Region (Reference to Wine region taxonomy)
- Wine types offered (Reference to Wine type taxonomy)
Blog post¶
- Purpose: Share updates, wine tips, or regional insights.
- Fields:
- Title (Text (plain))
- Description (Text (plain, long))
- Content (Formatted text)
- Featured Image (Media)
- Published Date (Date)
- Related Wine Tours (Reference other Wine tour content)
Testimonial¶
- Purpose: Showcase customer feedback.
- Fields:
- Customer Name (Text (plain))
- Testimonial Text (Long Text)
- Related Tour (Entity Reference to Wine Tour content type)
Taxonomies¶
Wine region¶
Example terms:
- Napa Valley
- Willamette Valley
- Sonoma
- Rioja
Wine type¶
Example terms:
- Red
- White
- Rosé
- Sparkling
Tour category¶
Example terms:
- Private tours
- Group tours
- Weekend tours
Relationships¶
- Wine tours content can reference Wineries content.
- Wineries and Wine tours content are categorized by Wine region taxonomy.
- Wine types categorize the wines offered at each Winery.
- Blog posts can reference specific Wine tours as related content.
Dynamic displays (powered by Views)¶
- Tour listing page
- Lists tour name, featured image, price, duration, and booking link
-
Filtered by region or tour category
-
Winery directory
- Lists winery name, location, and wine types offered
-
Filtered by wine region
-
Featured blog section
-
Displays recent blog posts on the homepage with title, image, and excerpt.
-
Testimonial carousel
-
Showcases testimonials linked to their respective tours.
-
Region pages
- Displays tours and wineries within a specific wine region.
- Filtered by wine region.
Additional tips¶
- Create Pathauto patterns for SEO-friendly URLs:
- /tours/{tour-name}
- /wineries/{winery-name}
- /blog/{blog-title}
- Use Content Moderation to manage drafts and approvals for blog posts and updates.
Create a Winery owner role with permission to edit only their own Winery content to allow owners to manage their own listing.