Skip to content

Releases: lightspeedwp/tour-operator

2.1.1

07 Jan 11:36
Immutable release. Only release title and notes can be modified.
9ce210a

Choose a tag to compare

  • Sticky Menu Block Filter File in Production - Renamed render.php to filters.php in sticky-menu block and configured webpack to copy it to build folder using CopyWebpackPlugin. This ensures the mobile section headers filter is available in production releases (which only include the build/ folder). Added function_exists() check to prevent redeclaration errors - PR #834

v2.1

19 Dec 16:08
Immutable release. Only release title and notes can be modified.
238a224

Choose a tag to compare

Added

Build & Pattern Infrastructure

  • Pattern Registration Infrastructure - Established directory structure and registration system for tour operator patterns with proper categorization and template support - PR#803, Issue #795
  • Spacing Variables with Theme Inheritance - Added CSS spacing variables (--wp--preset--spacing--10 through --wp--preset--spacing--80) with zero-specificity fallbacks using :where() selector to ensure theme values take precedence while providing consistent rem-based fallback values for patterns and templates when theme doesn't define them PR #818

Patterns

  • Section Header Pattern - Added reusable section header pattern (lsx-tour-operator/section-header) with centered heading text flanked by horizontal separators for consistent section dividers across templates. Includes pattern overrides binding for easy customization - #809, Issue #796
  • Review Card Pattern - Added review card pattern for displaying review content with quotation icons and consistent formatting - Issue #798, PR #814

Template Parts

  • Template Parts Infrastructure - Added Template_Parts registration class for auto-discovery and registration of template parts from the parts/ directory with proper metadata, i18n support, and area assignment - #809, Issue #796
  • Fast Facts Template Parts - Created fast facts template parts for tour, accommodation, and destination single templates with comprehensive information display including duration, price, facilities, location, and quick reference details - #809, Issue #796
    • fast-facts-tour.html - Tour information including duration, price, group size, booking validity, destinations, travel styles, and enquiry button
    • fast-facts-accommodation.html - Accommodation details including rating, number of rooms, facilities, check-in/out times, location, and accommodation type
    • fast-facts-destination.html - Destination overview including country, travel styles, and best time to visit
  • Modal Template Parts - Created modal template parts for preview functionality across tour operator post types with customizable content display - #809, Issue #796
    • modal-tour.html - Tour preview modal with featured image, title, tagline, excerpt, and destinations
    • modal-accommodation.html - Accommodation preview modal with featured image, title, tagline, excerpt, location, and facilities
    • modal-destination.html - Destination preview modal with featured image, title, and excerpt
    • modal-enquiry.html - Enquiry form modal placeholder for contact functionality

New Blocks

  • Icons Block - Added new icons block for improved icon management and display capabilities - #547, Issue #548
  • Banner Cover Block - New block that pulls the image set in the Banner Image custom field for dynamic banner display - #604
  • Tagline Block - New block that pulls text from the Tagline custom field for consistent branding - #604
  • Sticky Menu Block - Added sticky navigation menu block with desktop and mobile navigation support for single post templates, includes anchor support and section group functionality - #684, Issue #496
  • TO Videos Block - Added YouTube video gallery block for displaying videos on tours, accommodation, and destination templates in a professional gallery layout - #598, Issue #397
  • Check-in/Checkout Time Icon Blocks - Added icon-based blocks (replacing images) for check-in and checkout times with filters to display only on relevant post types (accommodation) and related templates - #645
  • Unit Blocks - Added comprehensive unit blocks functionality with refined assets and WordPress coding standards alignment - #815

Features & Integrations

  • Tour Expiration with Action Scheduler - Integrated Action Scheduler to automatically expire tours and set them to draft status. Works with any plugin using Action Scheduler as a vendor including WooCommerce, PublishPress, and Action Scheduler plugin - #490
  • Modal Support for Blocks - Added modal functionality support to various blocks for enhanced user interaction - Issue #488
  • Related Post Connections - Added CMB2 metaboxes for related post connections to single posts, enabling better content relationships - #596, Issue #595
  • Terms Query Block - Allowing the use of the permalink and featured image blocks inside the Terms Query - - #776

Filters & Extensibility

  • Core Featured Image Block Integration - Added comprehensive filtering system for core/post-featured-image block to support taxonomy images. New filters: lsx_to_taxonomy_images_featured_image_id, lsx_to_taxonomy_images_featured_image_size, lsx_to_taxonomy_images_featured_image_attr, and lsx_to_taxonomy_images_featured_image_html to enable complete customization of taxonomy-based featured image display with support for term meta 'thumbnail' field - #776
  • Destinations Filtering - Added filter lsx_to_{$key}_include_destinations to allow disabling of destinations when searching for related content - BH-74
  • Facility Block Links Control - Added filter lsx_to_accommodation_facilities_should_link to optionally disable facility block links - #608
  • Query Block Ordering - Added filter to allow ordering of query blocks by post__in parameter for custom content ordering - #653, Issue #123
  • Travel Information Filters - Added filter lsx_travel_information_excerpt_length to control character length for travel information excerpts - #663
  • Travel Information Modal Control - Added filter lsx_travel_information_modal_enable to optionally disable travel information modal functionality - #663
  • Query Loop Arguments - Added filter lsx_to_query_loop_query_args_{$key} to allow third-party plugins and themes to alter query arguments in Query_Loop class - #675

Enhancements

Template Refactoring

  • Complete Template System Modernization - Refactored all archive and single templates to use patterns and template parts instead of hardcoded HTML, enabling full Site Editor customization - Issue #798, PR #814
    • Updated single-tour.html with pattern-based sections (sticky menu, itinerary, gallery, reviews)
    • Updated single-accommodation.html with pattern-based layout (units, gallery sections)
    • Updated single-destination.html with travel information and gallery patterns
    • Updated single-country.html and single-region.html templates
    • Updated all archive templates (archive-tour.html, archive-accommodation.html, archive-destination.html, archive-review.html)
    • Replaced hardcoded inline styles with WordPress CSS variables (var(--wp--preset--*))
    • Implemented responsive spacing using WordPress spacing scale
    • Added placeholder image fallback for posts without featured images
    • Improved sticky menu behavior with proper sticky positioning
    • Fixed travel information section visibility (hides when no cards are visible)
    • Cleaned up queryIDs and local development paths from templates

Block System Improvements

  • Fast-Facts Meta Display Enhancement - Implemented single-line display for fast-facts and meta data blocks with bold prefixes for improved clarity. Enhanced 20+ blocks including duration, travel styles, accommodation type, check-in/out times, ratings, and language blocks with consistent prefix formatting and responsive layout improvements - #802, Issue #514, Issue #433
  • Sticky Menu Mobile UX - Improved mobile user experience by opening the first sect...
Read more

2.0.2

06 May 13:02
211dd0d

Choose a tag to compare

Added

  • The Itinerary Included and Excluded field handling and block output.
  • lsx_to_wetu_map_url_params filter to allow 3rd party plugins to change the WETU map attributes and what shows.
  • Permalink Settings fields, to allow the URL change for Travel Styles, Accommodation Type, and Brands.
  • The user can now alter the taxonomy slugs using the "Permalink" settings in WordPress.

Fixed

  • Fixed the output of the Special Interests - BH-77
  • Drinks Basis labels outputting "Drinks Basis" - BH-80
  • The Archive redirects and single redirects now use the correct post type arg parameters to disable the relevant option. #367
  • The version number display on the welcome page. - #482

Enhancements Added

  • lsx_to_wetu_map_url_params filter to allow 3rd party plugins to change the WETU map attributes. 7364e48
  • Adding in a "none" option for the "Special Interests" and the "Friendly" custom field selections. edd55f3

Additional

  • Removed commented out code.
  • Removed unused template tags.
  • Changed the label "LSX Tour Operator" to "Tour Operator" in all files.

Security

  • Tested with WordPress 6.8.1

Pull Requests

Full Changelog: 2.0.1...2.0.2

2.0.1

24 Jan 10:36
afba0f5

Choose a tag to compare

What's Changed

Full Changelog: here

2.0.0

20 Dec 14:37
74ece1b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.4.9...2.0.0

2.0 Beta 2

03 Dec 14:36
80a9811

Choose a tag to compare

Description

The following PR were concluded to close off Bugherd and Issues list in the Tour Operator Project.

Pull Requests

#445

#446

  • Making sure the trashed items are not used, BH 64,BH 77, BH 63
  • Moving the render block function
  • Updating the visibility for the featured and related blocks - #431
  • Fixing the output of the tour custom field blocks.
  • Fixing the price includes and excludes innerBlock Structure
  • Fixing the display of the currencies 97
  • Fixing the php warnings
  • Updating the description if there is an empty departure day
  • Updating the Price filters to work on the single supplement as well BH 92.

#447

  • Fixing the layout of the facilities BH-68
  • Fixing the rating image BH-51
  • Fixing the itinerary Image not showing. BH-45
  • Fixing the target issues #342
  • Fixing the gallery images BH-56
  • Fixing the drinks and room basis fields BH-87
  • Removing the unused frontend functions
    • Layout Functions
    • Compatability checks for LSX
    • Template Tags

#450

  • Registered the Images sizes via the plugin #392
  • Added in the itinerary read more #338
  • Last of the meta field updates #424
  • Adding in the gallery pattern with the wrapper CSS to achieve the block visibility 48ca233ee
  • Fixing the currency display for the accommodation and tour cards.
  • Fixing the currency display of the Accommodation Units.

Summary by CodeRabbit

  • New Feature: Introduced a new block template for a gallery in the Tour Operator project, enhancing image display within a gallery wrapper.
  • Refactor: Streamlined CSS by removing unused code and updating class names for better styling. Improved HTML structure for displaying accommodation facilities.
  • Refactor: Updated block variations with new icons, categories, and attributes. Enhanced robustness by adding conditional checks before function calls.
  • Refactor: Modified currency retrieval logic and rating display in the price_filter and rating functions. Removed redundant arrays from the Tour class.
  • Refactor: Updated options for "Drinks Basis" and "Room Basis" fields in itinerary settings.
  • Chore: Removed build script commands and redundant lines of code in the add_tagline_form_field function.
  • Style: Removed LSX Customizer integration code related to color schemes, impacting color customization for LSX Tour Operator.
  • Documentation: Updated plugin metadata such as contributors, tested version, and stable tag.

What's Changed

Full Changelog: 2.0-beta-1...2.0-beta-2

2.0 Beta 1

08 Nov 13:49
8298dc4

Choose a tag to compare

Changelog for Tour Operator Plugin v2.0.0 Beta 1

Description

The following release marks the first block-based version of the plugin, introducing a wide range of custom blocks and block variations for Tours, Accommodation, and Destinations post types. This release also includes significant improvements to the block editor experience, frontend functionality, and admin settings. Key highlights include:

  • Block visibility controls to hide empty custom fields.
  • New block variations for custom fields across all post types.
  • Enhanced settings side panels for improved editing workflows.
  • Functional updates such as clickable cover blocks, Wetu map embeds, and currency labels on all templates.
  • Comprehensive query loop variations for featured and related content.

Issues Closed

Block Visibility #372

  • Added block variations for:
    • Tours:
      • price, duration, travel-style, destination-to-tour, departs-from, ends-in, gallery, itinerary, single-supplement, group-size, best-time-to-visit, booking-validity-start, included, not-included
    • Accommodation:
      • price, rating, number-of-rooms, check-in-time, check-out-time, minimum-child-age, destination-to-accommodation, spoken-languages, travel-style, accommodation-type, suggested-visitor-types, special-interests, gallery, rooms, included, not-included, facilities, single-supplement
    • Destinations:
      • travel-style, best-time-to-visit, electricity, banking, cuisine, climate, transport, dress, health, safety, visa, general, gallery

PRs:


Backend - Block Options #349

  • Generate a settings side panel for:
    • General Settings:
      • Disable Singles, Price, Single Supplement, Duration
    • Custom Fields:
      • Spoken Languages, Special Interests, Friendly, Best Time to Visit, Sticky Posts

PRs:


Display Currency Label on all Templates #376

  • Display currency label next to all price fields across post type archives and single templates.

PR:


Setting Featured Image on Custom Taxonomies Not Working #419

  • Fixed issues with setting featured images for Accommodation Types, Travel Styles, and Continents.

PR:


Wetu Map Embed Block #365

  • Added a block to embed Wetu maps in the Single Tour template.

PR:


Frontend - Block Functions #353

  • Added block visibility controls and CSS classes for hiding empty custom fields.
  • Implemented filters for itinerary, images, price, and location formatting.

PR:


Wetu Importer - Settings #173

  • Simplified settings options, updated styling, and added controls for image sizing and sync options.

Clickable Cover Block Variation #422

  • Created a block variation for WordPress Cover block to make the entire block clickable.

PR:


Pull Requests from ongoing Issues


1.4.9

10 Aug 06:27
df2dd01

Choose a tag to compare

Added

  • Adding in support for the read more block while using the Block Editor.

Security

  • General testing to ensure compatibility with latest WordPress version (6.3).

1.4.8

20 Apr 12:30
48c497f

Choose a tag to compare

Added

  • Adding in the - lsx_to_disable_dynamic_gallery filter

Fixed

  • A conflict with WooCommerce and select2

Security

  • General testing to ensure compatibility with latest WordPress version (6.2).

1.4.7

22 Dec 13:22
9b62b17

Choose a tag to compare

Added

  • A parameter to the to_banner_navigation shortcode to allow changing the element selector.
  • A filter to allowing the overwritting of the banner_navigation shortcode. to_banner_navigation_atts
  • Added in an option to switch the itinerary to the destination images instead of the accommodation images.
  • A filter to allow the use of destination pins in the map, for rail and boat tours. lsx_to_get_itinerary_ids_meta_key
  • A function to allow you to include the parent images in the itinerary pool. lsx_to_itinerary_append_parent_destinations

Fixed

  • The banner easing navigation.
  • The output of the Mobile Tours destinations.
  • A fatal error with maps outputting on the travel style archives.

Security

  • General testing to ensure compatibility with latest WordPress version (6.1.1).