CRETAN Widgets Documentation

Source: All widgets are served from https://go.cretan.com/widgets/
Data: Fetched client-side via JavaScript from Directus API
Server-Side Shortcodes: See Directus Data Reference for PHP-rendered shortcodes

1. Tours Widget

Displays a grid of tour cards with images, titles, prices, and next available dates.

Shortcode

[cretan_tours]

Parameters

Parameter Type Default Description
limit number 3 Number of tours to display
lang string en Language: de, en, el
category string Filter by category slug (e.g., hiking-nature)
api-url string https://go.cretan.com API endpoint

Examples

[cretan_tours limit="4" lang="de"]
[cretan_tours limit="3" category="hiking-nature" lang="en"]

Live Demo

4 Tours, German

2. Tour Dates Widget

Shows available dates for a specific tour with booking buttons.

Shortcode

[cretan_tour_dates slug="your-tour-slug"]

Parameters

Parameter Type Default Description
slug string required Tour slug from Directus
limit number 5 Number of dates to show
lang string en Language: de, en, el

Live Demo

Samaria Gorge Dates

3. Tour Booking Widget

Complete booking widget with date selection, participant picker, and checkout. Ideal for sidebars.

Shortcode

[cretan_tour_booking slug="your-tour-slug"]

Parameters

Parameter Type Default Description
slug string required Tour slug from Directus
limit number 20 Max dates in dropdown
lang string de Language: de, en, el

Live Demo

Booking Widget

4. Tour Reviews Widget

Displays customer reviews with star ratings, category scores (Guide, Transport, Value, Experience), and review texts.

Shortcode

[cretan_tour_reviews slug="your-tour-slug"]

Parameters

Parameter Type Default Description
slug string required Tour slug from Directus
limit number 5 Number of reviews to show
lang string de Language: de, en, el

Live Demo

Tour Reviews

5. Tour Profile Widget

Visualizes the CRETAN experience profile with 6 dimensions: Connection, Regeneration, Exploration, Transformation, Authenticity, Nurture.

Shortcode

[cretan_tour_profile slug="your-tour-slug"]

Parameters

Parameter Type Default Description
slug string required Tour slug from Directus
lang string de Language: de, en, el
show-title boolean true Show/hide the title above chart

Live Demo

With Title
Without Title

Widget Reference

Widget Shortcode JS File
Tours Grid [cretan_tours] cretan-tours.js
Tour Dates [cretan_tour_dates] cretan-tour-dates.js
Booking [cretan_tour_booking] cretan-tour-booking.js
Reviews [cretan_tour_reviews] cretan-tour-reviews.js
Experience Profile [cretan_tour_profile] cretan-tour-profile.js

Looking for server-side PHP shortcodes? See Directus Data Reference for [cretan_tour_field], [cretan_tour_opener], [cretan_tour_description], and more.