Additional Listings Block
Displays a grid of additional listings. This block shows 3 random listings of main_type="member" (default, but can be changed) in a card-based layout, perfect for showcasing secondary or supporting listings in your tourism directory.
Overview
The Additional Listings block is designed for collection pages where you want to display secondary listings alongside your main content. It automatically fetches additional listings from your Tourismo admin platform and presents them in an organized grid layout. This is ideal for business directories, tourism sites, or any page where you want to showcase multiple businesses without featuring them as primary content.
Block Features & Options
Display Modes
- Grid Layout: Displays listings in a responsive grid with configurable columns (1-3)
- Card-based Design: Each listing appears in a Bootstrap card with consistent styling
- Responsive Design: Automatically adapts to different screen sizes
Layout Options
- Columns: Choose from 1, 2, or 3 columns for the grid layout
- Alignment: Left, center, or right alignment options
- Custom CSS Class: Add custom CSS classes for additional styling
Content & Filter Options
- Main Type: Filter by main type (member, non-member, featured, etc.)
- Show Image: Toggle to display listing images (default: enabled)
- Show Name: Toggle to display listing names (default: enabled)
- Show Subtitle: Toggle to display listing subtitles (default: disabled)
- Show Description: Toggle to display listing descriptions (default: enabled)
Display Toggles
- Linked Page: Connect to a listing template page for navigation
- Custom Template: Use a custom template name for advanced styling
How it Works
The Additional Listings block automatically fetches additional listings from your Tourismo admin platform via the API. These are listings that are not marked as featured or primary. The block displays them in a responsive grid layout using Bootstrap cards, with each listing showing its image, name, and description based on your display settings. You can filter by main type to show specific categories of listings (e.g., member businesses, featured partners, etc.).
How to Add & Configure
- Add the Block: In the WordPress block editor, search for "Additional Listings" and add it to your page
- Filter by Main Type: Enter main type slugs separated by commas (e.g., member, non-member, featured)
- Configure Layout: In the block settings sidebar, set the number of columns (1-4)
- Set Display Options: Toggle which elements to show (image, name, subtitle, description)
- Link to Template Page: Select a listing template page for navigation (recommended)
- Add Custom Classes: Optionally add custom CSS classes for styling
Shortcode Usage
Basic Shortcode
[tourismo-listings-additional]
Shortcode Options
| Option | Type | Default | Description |
|---|---|---|---|
linked_page_id |
string | "" | Required - ID of the listing template page for navigation |
custom_template_name |
string | "" | Custom template name for advanced styling |
columns |
string | "1" | Number of columns (1, 2, 3, or 4) |
class_name |
string | "" | Custom CSS class name |
align |
string | "" | Text alignment (left, center, right) |
main_type |
string | "member" | Filter by main type slugs separated by commas (e.g., member, non-member, featured) |
show_image |
boolean | true | Show listing images |
show_name |
boolean | true | Show listing names |
show_subtitle |
boolean | false | Show listing subtitles |
show_description |
boolean | true | Show listing descriptions |
Practical Examples
Basic additional listings with 3 columns:
[tourismo-listings-additional linked_page_id="123" columns="3"]
Additional listings with custom styling:
[tourismo-listings-additional linked_page_id="123" columns="2" show_image="false" class_name="my-custom-listings"]
Centered additional listings with 4 columns:
[tourismo-listings-additional linked_page_id="123" columns="4" align="center" show_description="false"]
Featured partner listings:
[tourismo-listings-additional linked_page_id="123" main_type="featured" columns="3"]
Non-member business listings:
[tourismo-listings-additional linked_page_id="123" main_type="non-member" columns="2"]
Multiple main types:
[tourismo-listings-additional linked_page_id="123" main_type="member,featured,premium" columns="3"]
Content Displayed
The Additional Listings block displays:
- Listing Images: Hero images for each listing (if available)
- Listing Names: Business names as clickable links
- Subtitles: Listing subtitles (if available and enabled)
- Descriptions: Full descriptions with markdown support
- Contact Information: Phone, email, website, and booking links
- Location Details: City, region, and full address
- Tags: Categorized tags for filtering
- Related Itineraries: Connected itinerary information
Each listing is presented in a Bootstrap card with consistent styling and responsive behavior. The layout automatically adjusts based on the column setting and screen size.
Related Blocks
- Listings Block - Display primary/featured listings
- Listings Featured Block - Show featured listings in a carousel
- Listing Info Block - Display detailed information for a single listing
- Listing Website Button Block - Add website links to listings