Description

Last updated on Sep 16, 2025

Description Block

The Description block displays description content from your Tourismo admin platform records. It's designed for template pages where you want to showcase either the full description or short description of itineraries, listings, events, challenges, or other content types with proper markdown formatting.

Overview

Use the Description block to create rich content displays on your template pages. This block is perfect for:

  • Template pages showing detailed content descriptions
  • Tourism websites with comprehensive location and activity information
  • Event sites displaying detailed event descriptions
  • Business directories with rich business descriptions
  • Challenge pages with detailed challenge information

Block Features & Options

Display Modes

  • Full Description: Display complete description content
  • Short Description: Show condensed description when available
  • Markdown Support: Automatic markdown to HTML conversion
  • Responsive Design: Centered content with proper spacing

Layout Options

  • Custom CSS Class: Add custom styling classes
  • Template Customization: Use custom template names for advanced styling
  • Page Type Detection: Automatic styling based on content type

Content Display Options

  • Description Type Selection: Choose between full or short descriptions
  • Markdown Processing: Automatic formatting of markdown content
  • Conditional Display: Only shows when description content is available

How it Works

The Description block pulls description content from the current Tourismo record and displays it with proper markdown formatting. The block automatically detects the page type and applies appropriate styling classes. Content is centered by default and wrapped in a responsive container with proper spacing.

How to Add & Configure

  1. Add the Block: In the WordPress editor, add the "Description" block to your template page
  2. Choose Description Type: Select "Full Description" or "Short Description" in the block settings
  3. Customize Styling: Add custom CSS classes for advanced styling
  4. Test Display: Preview how the description appears on different content types

Shortcode Usage

Basic Shortcode

[tourismo-description]

Available Options

Option Type Default Description
description_type string "full" Description type ("full" or "short")
custom_template_name string "" Custom template name for advanced styling
class_name string "" Custom CSS class for styling

Practical Examples

Basic Description Display

[tourismo-description]

Short Description

[tourismo-description description_type="short"]

Description with Custom Styling

[tourismo-description class_name="text-muted small" description_type="full"]

Description with Custom Template

[tourismo-description custom_template_name="my-description-template"]

Content Displayed

The Description block displays rich content with proper formatting:

  • Full Descriptions: Complete description content from the record
  • Short Descriptions: Condensed descriptions when available
  • Markdown Formatting: Automatically converts markdown to HTML with proper styling
  • Responsive Layout: Centered content with appropriate spacing and typography
  • Conditional Display: Only renders when description content exists

The block uses .itin and .itinerator-description CSS classes for easy styling and automatically includes page type classes (e.g., .itinerator-page-type-itinerary) for targeted styling.

Related Blocks

  • Title Block - Display the name/title of your content
  • Content Block - Display additional content sections
  • Tags Block - Show content tags and categories
  • Challenge Block - Display individual challenge details on template pages