Add viator-collector plugin (Hop On Hop Off front-end reskin)

Consolidate the plugin into the TourWebsite repository (its separate
nested git repo has been removed). Includes the full new-design reskin:
scoped design stylesheet, SVG icon sprite, rebuilt listing/single/section
templates, and homepage hero/FAQ/testimonials shortcodes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4hNL1PSHxXbu94SCenpKj
This commit is contained in:
2026-09-12 21:11:20 +03:30
parent 99e5413fee
commit 7ada8860f8
42 changed files with 9019 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
/**
* Post-type archive for viator_tour — renders the shared listing UI.
*/
defined( 'ABSPATH' ) || exit;
get_header();
?>
<main class="vc-app vc-listing">
<?php
echo vc_get_template( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'listing.php',
array(
// Deliberately location-agnostic; override with the vc_listing_title filter.
'vc_title' => __( 'Explore Tours & Experiences', 'viator-collector' ),
'vc_subtitle' => __( 'Find the best tours, activities and unforgettable experiences.', 'viator-collector' ),
'vc_crumb_label' => __( 'Tours', 'viator-collector' ),
)
);
?>
</main>
<?php
get_footer();